@@ -182,7+191,7 @@ class CommandSilence : public Command
}
}
}
}
}
}
- user->WriteNumeric(952, "%s %s :%s %s does not exist on your silence list",user->nick.c_str(), user->nick.c_str(), mask.c_str(), decomppattern.c_str());
+ user->WriteNumeric(ERR_NOTSILENCED, user->nick, InspIRCd::Format("%s %s does not exist on your silence list", mask.c_str(), decomppattern.c_str()));
}
else if (action == '+')
{
}
else if (action == '+')
{
@@ -195,29+204,29 @@ class CommandSilence : public Command
}
if (sl->size() > maxsilence)
{
}
if (sl->size() > maxsilence)
{
- user->WriteNumeric(952, "%s %s :Your silence list is full",user->nick.c_str(), user->nick.c_str());
+ user->WriteNumeric(ERR_NOTSILENCED, user->nick, "Your silence list is full");