1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 08:16:38 +02:00

Fixed detecting when to set +r and fixed crash on shutdown introduced by the last commit

This commit is contained in:
Adam
2012-02-14 19:03:09 -05:00
parent a9772cde21
commit db59f1a70f
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -473,8 +473,8 @@ void ModeManager::StackerAddInternal(BotInfo *bi, Base *Object, Mode *mode, bool
else if (Type == ST_USER)
s->bi = NULL;
static ModePipe mpipe;
mpipe.Notify();
static ModePipe *mpipe = new ModePipe();
mpipe->Notify();
}
/** Add a user mode to Anope