diff options
Diffstat (limited to 'modules/commands/os_forbid.cpp')
-rw-r--r-- | modules/commands/os_forbid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_forbid.cpp b/modules/commands/os_forbid.cpp index 7d20c5539..b5b184740 100644 --- a/modules/commands/os_forbid.cpp +++ b/modules/commands/os_forbid.cpp @@ -277,7 +277,7 @@ class OSForbid : public Module if (!c->HasFlag(CH_INHABIT)) { /* Join ChanServ and set a timer for this channel to part ChanServ later */ - new ChanServTimer(c); + c->Hold(); /* Set +si to prevent rejoin */ c->SetMode(NULL, CMODE_NOEXTERNAL); |