summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-09-06 02:30:19 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-09-06 02:30:19 +0200
commita6932c688a0bdccc5e215ee3bd8c43504b580731 (patch)
treec30506c40fafb60c71c3efa06624d75ff5dc5e10
parentd917ec5ea246283e64eb433069f373f39f8ed4d7 (diff)
downloadpoezio-a6932c688a0bdccc5e215ee3bd8c43504b580731.tar.gz
poezio-a6932c688a0bdccc5e215ee3bd8c43504b580731.tar.bz2
poezio-a6932c688a0bdccc5e215ee3bd8c43504b580731.tar.xz
poezio-a6932c688a0bdccc5e215ee3bd8c43504b580731.zip
Add the /quit command
-rw-r--r--src/core.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 242b22a6..4a6156f5 100644
--- a/src/core.py
+++ b/src/core.py
@@ -113,6 +113,7 @@ class Core(object):
'help': (self.command_help, '\_o< KOIN KOIN KOIN', self.completion_help),
'join': (self.command_join, _("Usage: /join [room_name][@server][/nick] [password]\nJoin: Join the specified room. You can specify a nickname after a slash (/). If no nickname is specified, you will use the default_nick in the configuration file. You can omit the room name: you will then join the room you\'re looking at (useful if you were kicked). You can also provide a room_name without specifying a server, the server of the room you're currently in will be used. You can also provide a password to join the room.\nExamples:\n/join room@server.tld\n/join room@server.tld/John\n/join room2\n/join /me_again\n/join\n/join room@server.tld/my_nick password\n/join / password"), self.completion_join),
'exit': (self.command_quit, _("Usage: /exit\nExit: Just disconnect from the server and exit poezio."), None),
+ 'quit': (self.command_quit, _("Usage: /quit\nQuit: Just disconnect from the server and exit poezio."), None),
'next': (self.rotate_rooms_right, _("Usage: /next\nNext: Go to the next room."), None),
'prev': (self.rotate_rooms_left, _("Usage: /prev\nPrev: Go to the previous room."), None),
'win': (self.command_win, _("Usage: /win <number>\nWin: Go to the specified room."), self.completion_win),