From 287d60fc83a043a78c4a4ad7c07322238ec52881 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 2 Jan 2008 23:53:42 +0000 Subject: Update this to use the new oper call git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8618 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqloper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index 0b10ac467..a8893b1f1 100644 --- a/src/modules/extra/m_sqloper.cpp +++ b/src/modules/extra/m_sqloper.cpp @@ -262,7 +262,7 @@ public: user->WriteServ("381 %s :You are now %s %s",user->nick, strchr("aeiouAEIOU", type[0]) ? "an" : "a", irc::Spacify(type.c_str())); if (!user->modes[UM_OPERATOR]) - user->Oper(type); + user->Oper(type, tname); return true; } -- cgit v1.2.3