1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

Fix crash when executing "/msg * something" on an IRC server buffer

This commit is contained in:
Sebastien Helleu
2009-04-01 23:51:53 +02:00
parent ca7bcf880b
commit 2019129701
+1
View File
@@ -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);