home · contact · privacy
Split LOGIN into NICK and LOGIN.
[plomrogue2] / rogue_chat_curses.py
index a6d1ca7a81e9f8632bd82d2bb9e482da8529aae8..01e6dc3627140f72b93d4d67762af7e8b750e275 100755 (executable)
@@ -549,7 +549,7 @@ class TUI:
                     elif self.input_.startswith('/nick'):
                         tokens = self.input_.split(maxsplit=1)
                         if len(tokens) == 2:
-                            self.send('LOGIN ' + quote(tokens[1]))
+                            self.send('NICK ' + quote(tokens[1]))
                         else:
                             self.log_msg('? need login name')
                     elif self.input_.startswith('/msg'):