diff options
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 7321d11c4..421183740 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -1018,14 +1018,8 @@ void ModeHandler::RemoveMode(chanrec* channel) if (channel->IsModeSet(this->GetModeChar())) { - userrec* n = new userrec(ServerInstance); - sprintf(moderemove,"-%c",this->GetModeChar()); - n->SetFd(FD_MAGIC_NUMBER); - - ServerInstance->SendMode(parameters, 2, n); - - delete n; + ServerInstance->SendMode(parameters, 2, ServerInstance->FakeClient); } } |