| 62 { "313", "nn:", irc_msg_whois }, /* Whois ircop */ |
62 { "313", "nn:", irc_msg_whois }, /* Whois ircop */ |
| 63 { "317", "nnvv", irc_msg_whois }, /* Whois idle */ |
63 { "317", "nnvv", irc_msg_whois }, /* Whois idle */ |
| 64 { "318", "nt:", irc_msg_endwhois }, /* End of WHOIS */ |
64 { "318", "nt:", irc_msg_endwhois }, /* End of WHOIS */ |
| 65 { "319", "nn:", irc_msg_whois }, /* Whois channels */ |
65 { "319", "nn:", irc_msg_whois }, /* Whois channels */ |
| 66 { "320", "nn:", irc_msg_whois }, /* Whois (fn ident) */ |
66 { "320", "nn:", irc_msg_whois }, /* Whois (fn ident) */ |
| |
67 { "314", "nnvvv:", irc_msg_whois }, /* Whowas user */ |
| |
68 { "369", "nt:", irc_msg_endwhois }, /* End of WHOWAS */ |
| 67 { "321", "*", irc_msg_list }, /* Start of list */ |
69 { "321", "*", irc_msg_list }, /* Start of list */ |
| 68 { "322", "ncv:", irc_msg_list }, /* List. */ |
70 { "322", "ncv:", irc_msg_list }, /* List. */ |
| 69 { "323", ":", irc_msg_list }, /* End of list. */ |
71 { "323", ":", irc_msg_list }, /* End of list. */ |
| 70 { "324", "ncv:", irc_msg_chanmode }, /* Channel modes */ |
72 { "324", "ncv:", irc_msg_chanmode }, /* Channel modes */ |
| 71 { "331", "nc:", irc_msg_topic }, /* No channel topic */ |
73 { "331", "nc:", irc_msg_topic }, /* No channel topic */ |
| 76 { "372", "n:", irc_msg_motd }, /* MOTD */ |
78 { "372", "n:", irc_msg_motd }, /* MOTD */ |
| 77 { "375", "n:", irc_msg_motd }, /* Start MOTD */ |
79 { "375", "n:", irc_msg_motd }, /* Start MOTD */ |
| 78 { "376", "n:", irc_msg_motd }, /* End of MOTD */ |
80 { "376", "n:", irc_msg_motd }, /* End of MOTD */ |
| 79 { "391", "nv:", irc_msg_time }, /* Time reply */ |
81 { "391", "nv:", irc_msg_time }, /* Time reply */ |
| 80 { "401", "nt:", irc_msg_nonick }, /* No such nick/chan */ |
82 { "401", "nt:", irc_msg_nonick }, /* No such nick/chan */ |
| |
83 { "406", "nt:", irc_msg_nonick }, /* No such nick for WHOWAS */ |
| 81 { "403", "nc:", irc_msg_nochan }, /* No such channel */ |
84 { "403", "nc:", irc_msg_nochan }, /* No such channel */ |
| 82 { "404", "nt:", irc_msg_nosend }, /* Cannot send to chan */ |
85 { "404", "nt:", irc_msg_nosend }, /* Cannot send to chan */ |
| 83 { "421", "nv:", irc_msg_unknown }, /* Unknown command */ |
86 { "421", "nv:", irc_msg_unknown }, /* Unknown command */ |
| 84 { "432", "vn:", irc_msg_badnick }, /* Erroneous nickname */ |
87 { "432", "vn:", irc_msg_badnick }, /* Erroneous nickname */ |
| 85 { "433", "vn:", irc_msg_nickused }, /* Nickname already in use */ |
88 { "433", "vn:", irc_msg_nickused }, /* Nickname already in use */ |
| 146 { "umode", ":", irc_cmd_mode, N_("umode <+|-><A-Za-z>: Set or unset a user mode.") }, |
149 { "umode", ":", irc_cmd_mode, N_("umode <+|-><A-Za-z>: Set or unset a user mode.") }, |
| 147 { "version", ":", irc_cmd_ctcp_version, N_("version [nick]: send CTCP VERSION request to a user") }, |
150 { "version", ":", irc_cmd_ctcp_version, N_("version [nick]: send CTCP VERSION request to a user") }, |
| 148 { "voice", ":", irc_cmd_op, N_("voice <nick1> [nick2] ...: Grant channel voice status to someone. You must be a channel operator to do this.") }, |
151 { "voice", ":", irc_cmd_op, N_("voice <nick1> [nick2] ...: Grant channel voice status to someone. You must be a channel operator to do this.") }, |
| 149 { "wallops", ":", irc_cmd_wallops, N_("wallops <message>: If you don't know what this is, you probably can't use it.") }, |
152 { "wallops", ":", irc_cmd_wallops, N_("wallops <message>: If you don't know what this is, you probably can't use it.") }, |
| 150 { "whois", "tt", irc_cmd_whois, N_("whois [server] <nick>: Get information on a user.") }, |
153 { "whois", "tt", irc_cmd_whois, N_("whois [server] <nick>: Get information on a user.") }, |
| |
154 { "whowas", "t", irc_cmd_whowas, N_("whowas <nick>: Get information on a user that has logged off.") }, |
| 151 { NULL, NULL, NULL, NULL } |
155 { NULL, NULL, NULL, NULL } |
| 152 }; |
156 }; |
| 153 |
157 |
| 154 static PurpleCmdRet irc_parse_purple_cmd(PurpleConversation *conv, const gchar *cmd, |
158 static PurpleCmdRet irc_parse_purple_cmd(PurpleConversation *conv, const gchar *cmd, |
| 155 gchar **args, gchar **error, void *data) |
159 gchar **args, gchar **error, void *data) |