diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-04-01 23:51:53 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-04-01 23:51:53 +0200 |
commit | 2019129701b043ecb6fa061a50cd1f84be929238 (patch) | |
tree | 14a8bd5cd84f836c8ada9c7b9d2dee246a463e1c /src/plugins | |
parent | ca7bcf880b6dffe87976ef40801c8f65ea541b54 (diff) | |
download | weechat-2019129701b043ecb6fa061a50cd1f84be929238.zip |
Fix crash when executing "/msg * something" on an IRC server buffer
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index e852ef4a0..f39ce07e1 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -2041,6 +2041,7 @@ irc_command_msg (void *data, struct t_gui_buffer *buffer, int argc, irc_buffer_get_server_prefix (ptr_server, "error"), IRC_PLUGIN_NAME, "msg *"); + return WEECHAT_RC_OK; } if (ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL) ptr_nick = irc_nick_search (ptr_channel, ptr_server->nick); |