]> jfr.im git - irc/rizon/znc.git/commit
Fix some of the direct module calls in Client.cpp
authorpsychon <redacted>
Fri, 22 Aug 2008 12:48:56 +0000 (12:48 +0000)
committerpsychon <redacted>
Fri, 22 Aug 2008 12:48:56 +0000 (12:48 +0000)
commitecabbd2bcd206f8023c2ed0d83efb4025f46bc05
tree8e309a7de1c5daf092efdbd8e55b47a9edcf47ab
parentef31d6e2396139d7789f6c06689518a1eed5efaa
Fix some of the direct module calls in Client.cpp

OnModCTCP(), OnModCommand() and OnModNotice() are now called through a
preprocessor macro that does all the magic. This fixes a couple of bugs:
- the m_pUser member of global modules for OnModNotice() was wrong
- OnModCTCP() wasn't called for global modules
- Finally handle 'throw UNLOAD' for all of this three module calls

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1162 726aef4b-f618-498e-8847-2d620e286838
Client.cpp