From 2019129701b043ecb6fa061a50cd1f84be929238 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 1 Apr 2009 23:51:53 +0200 Subject: Fix crash when executing "/msg * something" on an IRC server buffer --- src/plugins/irc/irc-command.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins') 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); -- cgit v1.2.3