diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-02 23:53:42 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-02 23:53:42 +0000 |
commit | 287d60fc83a043a78c4a4ad7c07322238ec52881 (patch) | |
tree | fa13f45f0c3aec31e9afe412e17fabd1c4c06111 /src/modules | |
parent | e76a1fa4114be4fce6b809af1c9b134b710c69c9 (diff) |
Update this to use the new oper call
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8618 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_sqloper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |