summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:47:05 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:47:05 +0000
commit54ebc7b84d9018da7f5725e376d9f4bf60afbf74 (patch)
treeae5f15b22b782a502b3eeba14fd1523256b8ab07 /src/users.cpp
parent09b802d5e94b71318e3b49f2d35554438efc5331 (diff)
Misc removal of pointless Extend strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11618 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index cd5aa247e..921403f47 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1029,7 +1029,7 @@ bool User::ForceNickChange(const char* newnick)
this->InvalidateCache();
- this->Extend("NICKForced", "Enabled");
+ this->Extend("NICKForced");
FOREACH_RESULT(I_OnUserPreNick,OnUserPreNick(this, newnick));
@@ -1048,7 +1048,7 @@ bool User::ForceNickChange(const char* newnick)
std::vector<std::string> parameters;
nickhandler->HandleInternal(1, dummy);
parameters.push_back(newnick);
- this->Extend("NICKForced", "Enabled");
+ this->Extend("NICKForced");
bool result = (ServerInstance->Parser->CallHandler("NICK", parameters, this) == CMD_SUCCESS);
this->Shrink("NICKForced");
nickhandler->HandleInternal(0, dummy);