mirror of
https://github.com/anope/anope.git
synced 2026-06-28 16:16:39 +02:00
Removed some problematic IsRecognized checks in ms_cancel and ms_check, and fixed a variable name in logger.cpp to make clang happy
This commit is contained in:
@@ -28,9 +28,7 @@ class CommandMSCancel : public Command
|
||||
Anope::string name = params[0];
|
||||
MemoInfo *mi;
|
||||
|
||||
if (!u->IsRecognized())
|
||||
notice_lang(Config->s_MemoServ, u, NICK_IDENTIFY_REQUIRED, Config->s_NickServ.c_str());
|
||||
else if (!(mi = getmemoinfo(name, ischan, isforbid)))
|
||||
if (!(mi = getmemoinfo(name, ischan, isforbid)))
|
||||
{
|
||||
if (isforbid)
|
||||
notice_lang(Config->s_MemoServ, u, ischan ? CHAN_X_FORBIDDEN : NICK_X_FORBIDDEN, name.c_str());
|
||||
|
||||
Reference in New Issue
Block a user