diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2003-10-03 19:33:59 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2003-10-03 19:33:59 +0000 |
commit | cec899898aca342eec9f1d8af6515f6e9669de8d (patch) | |
tree | cb2a202174a51c4ca98985a760f921da3d658fed /src/irc | |
parent | 106bdb1d4ac51198ffed5f28c35818e842432e33 (diff) | |
download | weechat-cec899898aca342eec9f1d8af6515f6e9669de8d.zip |
Added parameters for alias and alias section in config file
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/irc-commands.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/irc/irc-commands.c b/src/irc/irc-commands.c index fdab99b72..3391973a5 100644 --- a/src/irc/irc-commands.c +++ b/src/irc/irc-commands.c @@ -675,7 +675,7 @@ irc_cmd_send_msg (t_irc_server *server, char *arguments) } else gui_printf (server->window, - _("%s nick not found for \"privmsg\" command\n"), + _("%s nick not found for \"msg\" command\n"), WEECHAT_ERROR); server_sendf (server, "PRIVMSG %s :%s\r\n", ptr_channel->name, pos); } @@ -697,7 +697,7 @@ irc_cmd_send_msg (t_irc_server *server, char *arguments) } else gui_printf (server->window, - _("%s nick not found for \"privmsg\" command\n"), + _("%s nick not found for \"msg\" command\n"), WEECHAT_ERROR); } server_sendf (server, "PRIVMSG %s :%s\r\n", arguments, pos); @@ -739,9 +739,12 @@ irc_cmd_send_msg (t_irc_server *server, char *arguments) } } else + { gui_printf (server->window, - _("%s wrong number of args for \"privmsg\" command\n"), + _("%s wrong argument count for \"msg\" command\n"), WEECHAT_ERROR); + return -1; + } return 0; } |