]> jfr.im git - irc/rizon/znc.git/commit
Unify some of the preprocessor macros in Modules.cpp
authorpsychon <redacted>
Sun, 24 Aug 2008 06:25:11 +0000 (06:25 +0000)
committerpsychon <redacted>
Sun, 24 Aug 2008 06:25:11 +0000 (06:25 +0000)
commit87d062a5c5bb90e1fc2b5355dfbbc8577a62cb7a
tree39b1fe8ae27626ebd637fae13b7e4266e4b59e24
parent074adc94c1718bdb3f5e45eff7e58c2b54134c9f
Unify some of the preprocessor macros in Modules.cpp

The only difference between MODUNLOADCHK and GLOBALMODCALL and between
MODHALTCHK and GLOBALMODHALTCHK was that the one used CModule while the other
one used CGlobalModule.

Create two new macros that expects the class name as an extra parameter and
make all those other macros just call these two.

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