mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Do not call skip_target on a non irc server in irc 'own_public'
handler, based on a patch by Gabor Adam Toth. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4915 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
718d85ceab
commit
9e247274d1
@ -69,9 +69,11 @@ static void sig_message_own_public(SERVER_REC *server, const char *msg,
|
||||
const char *oldtarget;
|
||||
char *nickmode;
|
||||
|
||||
if (!IS_IRC_SERVER(server))
|
||||
return;
|
||||
oldtarget = target;
|
||||
target = skip_target(IRC_SERVER(server), target);
|
||||
if (IS_IRC_SERVER(server) && target != oldtarget) {
|
||||
if (target != oldtarget) {
|
||||
/* Hybrid 6 / Bahamut feature, send msg to all
|
||||
ops / ops+voices in channel */
|
||||
nickmode = channel_get_nickmode(channel_find(server, target),
|
||||
|
Loading…
Reference in New Issue
Block a user