From 14e4768140d796b3cb9eb979e74e48bffabd9bfc Mon Sep 17 00:00:00 2001 From: special Date: Wed, 16 Jul 2008 09:50:23 +0000 Subject: Applied patch by psychon to make AddExtBanChar correctly take a single char git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10024 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_muteban.cpp | 2 +- src/modules/m_nonicks.cpp | 2 +- src/modules/m_services_account.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_muteban.cpp b/src/modules/m_muteban.cpp index 30e96e9a9..649d5a3c2 100644 --- a/src/modules/m_muteban.cpp +++ b/src/modules/m_muteban.cpp @@ -70,7 +70,7 @@ class ModuleQuietBan : public Module virtual void On005Numeric(std::string &output) { - ServerInstance->AddExtBanChar("m"); + ServerInstance->AddExtBanChar('m'); } }; diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index 11a74bd1e..f29cbf04a 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -70,7 +70,7 @@ class ModuleNoNickChange : public Module virtual void On005Numeric(std::string &output) { - ServerInstance->AddExtBanChar("N"); + ServerInstance->AddExtBanChar('N'); } virtual int OnUserPreNick(User* user, const std::string &newnick) diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index 60d852cf5..118e152e3 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -64,8 +64,8 @@ class ModuleServicesAccount : public Module virtual void On005Numeric(std::string &t) { - ServerInstance->AddExtBanChar("R"); - ServerInstance->AddExtBanChar("M"); + ServerInstance->AddExtBanChar('R'); + ServerInstance->AddExtBanChar('M'); } /* <- :twisted.oscnet.org 330 w00t2 w00t2 w00t :is logged in as */ -- cgit v1.2.3