-/* event_neonserv_notice.c - NeonServ v5.0
+/* event_neonserv_notice.c - NeonServ v5.2
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
static void neonserv_event_channotice(struct UserNode *user, struct ChanNode *chan, char *message) {
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)) {