From 19e6882591a46c35a1c2e5b4b37479ff073b5957 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 27 Aug 2008 19:23:17 +0000 Subject: Clean up opering a tiny bit.. pave the way for SVSOPER git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10324 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqloper.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index ecb655913..64256ee87 100644 --- a/src/modules/extra/m_sqloper.cpp +++ b/src/modules/extra/m_sqloper.cpp @@ -306,12 +306,7 @@ public: if (operhost.size()) user->ChangeDisplayedHost(operhost.c_str()); - ServerInstance->SNO->WriteToSnoMask('o',"%s (%s@%s) is now an IRC operator of type %s", user->nick.c_str(), user->ident.c_str(), user->host.c_str(), type.c_str()); - user->WriteNumeric(RPL_YOUAREOPER, "%s :You are now %s %s",user->nick.c_str(), strchr("aeiouAEIOU", type[0]) ? "an" : "a", irc::Spacify(type.c_str())); - - if (!user->modes[UM_OPERATOR]) - user->Oper(type, tname); - + user->Oper(type, tname); return true; } } -- cgit v1.2.3