virtual Version GetVersion()
{
- return Version(1,1,0,0,VF_COMMON,API_VERSION);
+ return Version(1,2,0,0,VF_COMMON,API_VERSION);
}
virtual void OnWhois(User* src, User* dst)
if (dst->IsModeSet('k'))
{
- src->WriteServ("485 %s :You are not allowed to kill %s Services!", src->nick, ServerInstance->Config->Network);
+ src->WriteNumeric(485, "%s :You are not allowed to kill %s Services!", src->nick, ServerInstance->Config->Network);
ServerInstance->SNO->WriteToSnoMask('A', std::string(src->nick)+" tried to kill service "+dst->nick+" ("+reason+")");
return 1;
}