public:
CommandSVSSilence(InspIRCd* Instance) : Command(Instance,"SVSSILENCE", 0, 2)
{
- this->source = "m_watch.so";
+ this->source = "m_silence.so";
syntax = "<target> {[+|-]<mask> <p|c|i|n|t|a|x>}";
TRANSLATE3(TR_NICK, TR_TEXT, TR_END); /* we watch for a nick. not a UID. */
}
int MatchPattern(User* dest, User* source, int pattern)
{
+ /* Server source */
+ if (!source || !dest)
+ return 1;
+
silencelist* sl;
dest->GetExt("silence_list", sl);
if (sl)