home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split LOGIN into NICK and LOGIN.
[plomrogue2]
/
rogue_chat_curses.py
diff --git
a/rogue_chat_curses.py
b/rogue_chat_curses.py
index a6d1ca7a81e9f8632bd82d2bb9e482da8529aae8..01e6dc3627140f72b93d4d67762af7e8b750e275 100755
(executable)
--- a/
rogue_chat_curses.py
+++ b/
rogue_chat_curses.py
@@
-549,7
+549,7
@@
class TUI:
elif self.input_.startswith('/nick'):
tokens = self.input_.split(maxsplit=1)
if len(tokens) == 2:
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'):
else:
self.log_msg('? need login name')
elif self.input_.startswith('/msg'):