summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-27 19:28:35 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-27 19:28:35 +0000
commit97889f57c170ef2d3fe86c72f518948a9a7cb7a1 (patch)
tree5a47692546449339f2e37178a1344f5649176da5
parent19e6882591a46c35a1c2e5b4b37479ff073b5957 (diff)
Fix..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10325 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
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());