X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fevent_neonserv_topic.c;h=38242cb2b62f5a7ec9bf080e223be685e5f225c1;hb=c575e458c6257e75b97884847143b20965a5dfda;hp=dbd1f5fb5199b36f3012d8e9328669f974b353b1;hpb=95fed4deda0319bee515e44ceec0c77061a2c04e;p=NeonServV5.git diff --git a/src/event_neonserv_topic.c b/src/event_neonserv_topic.c index dbd1f5f..38242cb 100644 --- a/src/event_neonserv_topic.c +++ b/src/event_neonserv_topic.c @@ -1,4 +1,4 @@ -/* event_neonserv_topic.c - NeonServ v5.0 +/* event_neonserv_topic.c - NeonServ v5.2 * Copyright (C) 2011 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -28,7 +28,7 @@ static void neonserv_event_topic_async1(struct ClientSocket *client, struct User static void neonserv_event_topic(struct UserNode *user, struct ChanNode *chan, const char *new_topic) { struct ClientSocket *client = getBotForChannel(chan); if(!client) return; //we can't "see" this event - if(user->flags & (USERFLAG_ISBOT | USERFLAG_ISIRCOP)) return; + if(isNetworkService(user)) return; loadChannelSettings(chan); if(!(chan->flags & CHANFLAG_CHAN_REGISTERED)) return; if(!(user->flags & USERFLAG_ISAUTHED)) {