From 97889f57c170ef2d3fe86c72f518948a9a7cb7a1 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 27 Aug 2008 19:28:35 +0000 Subject: Fix.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10325 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/users.cpp b/src/users.cpp index 7523c1ff8..c6a607a9f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -701,8 +701,8 @@ void User::Oper(const std::string &opertype, const std::string &opername) char* savept; char* savept2; - if (user->IsModeSet('o')) - user->Deoper(); + if (this->IsModeSet('o')) + this->Deoper(); this->modes[UM_OPERATOR] = 1; this->WriteServ("MODE %s :+o", this->nick.c_str()); -- cgit v1.2.3