[srvx-devel] [patch] snoop v2.
Brought to you by:
entrope
From: Ian K. <po...@va...> - 2002-11-13 22:46:18
|
Hi,=20 This patch adds user_mode and channel_mode hooks. It attaches much cleaner and should work just great on bahamuth as well (although the extra check for numeric nicks might be stupid =3D)) Other than that it also checks for clients about to quit so it skips the part messages. There is however one small thing: if (!mode_change[1]) return; in snoop_user_mode (mod-snoop.c) It will crash heavily if there is *nothing* in mode_change. I haven't seen anything like that on ircu and i assume that bahamuth works the same way. IF you get problems, change it to a strlen immediately. patch avail from http://pomac.netswarm.net/ (direct link: http://pomac.netswarm.net/misc/srvx.snoopv2.diff.gz) --=20 Ian Kumlien <po...@va...> |