X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=rogue_chat_curses.py;h=b09dcc7e6548a3a1cd712684965b50f39dc5a5f2;hb=46108644f062458df5b0540f806abffab650683f;hp=7ff74464f0a73a1e58396353b6a9883dae590de7;hpb=9a54df0364d718dda3541044febbf01869f94b1d;p=plomrogue2 diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index 7ff7446..b09dcc7 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -636,15 +636,15 @@ class TUI: elif self.mode == self.mode_annotate and key == '\n': if self.input_ == '': self.input_ = ' ' - self.send('ANNOTATE %s %s %s' % (quote(self.password), - self.explorer, quote(self.input_))) + self.send('ANNOTATE %s %s %s' % (self.explorer, quote(self.input_), + quote(self.password)) self.input_ = "" self.switch_mode('study', keep_position=True) elif self.mode == self.mode_portal and key == '\n': if self.input_ == '': self.input_ = ' ' - self.send('PORTAL %s %s %s' % (quote(self.password), - self.explorer, quote(self.input_))) + self.send('PORTAL %s %s %s' % (self.explorer, quote(self.input_), + quote(self.password))) self.input_ = "" self.switch_mode('study', keep_position=True) elif self.mode == self.mode_teleport and key == '\n':