X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fusers.cpp;h=0324fad7f84c498729890b14265cff540303e7b6;hb=d56e1a1d586d61cfee2cdb8f6e8ecd71428385d8;hp=7ce7ea673cc1d5643199fbac3f2d4eed31d0ef39;hpb=f209cce90b394acd26e22eacef0bff61e8f5b4e1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/users.cpp b/src/users.cpp index 7ce7ea673..0324fad7f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1057,7 +1057,9 @@ bool User::ForceNickChange(const char* newnick) std::vector parameters; nickhandler->HandleInternal(1, dummy); parameters.push_back(newnick); + this->Extend("NICKForced", "Enabled"); bool result = (ServerInstance->Parser->CallHandler("NICK", parameters, this) == CMD_SUCCESS); + this->Shrink("NICKForced"); nickhandler->HandleInternal(0, dummy); return result; }