git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5555
e03df62e-2008-0410-955e-
edbf42e46eb7
bool FirstInGetsFounder;
bool QAPrefixes;
+ bool booting;
ChanProtect* cp;
ChanFounder* cf;
char* dummyptr;
ModuleChanProtect(InspIRCd* Me) : Module::Module(Me)
{
/* Load config stuff */
+ booting = true;
OnRehash("");
+ booting = false;
/* Initialise module variables */
* If so, remove all instances of the mode, and reinit
* the module with prefixes enabled.
*/
- if (old_qa != QAPrefixes)
+ if ((old_qa != QAPrefixes) && (!booting))
{
ServerInstance->Modes->DelMode(cp);
ServerInstance->Modes->DelMode(cf);