summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-27 19:47:33 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-27 19:47:33 +0000
commita215177f3179f8a47a7d5a669467334c5b8e40ec (patch)
treed8e86976cf465142c3dc125f3b11252f94a5cb6b /src/users.cpp
parent97889f57c170ef2d3fe86c72f518948a9a7cb7a1 (diff)
Don't force-finish a burst on a timer, instead, set bursted if a PONG is recieved while still bursting (obviously wrong).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10326 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index c6a607a9f..adf32b752 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -702,7 +702,7 @@ void User::Oper(const std::string &opertype, const std::string &opername)
char* savept2;
if (this->IsModeSet('o'))
- this->Deoper();
+ this->UnOper();
this->modes[UM_OPERATOR] = 1;
this->WriteServ("MODE %s :+o", this->nick.c_str());