diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-24 14:08:16 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-24 14:08:16 +0000 |
commit | 886c51566beb95ec568bca5273b7c9cb2c9f0e0c (patch) | |
tree | 97d7f9c9c8081c4590b0e743addbe850dcd1c087 | |
parent | d556a4f8740b65e635ff7d2b976faaedbdac51d4 (diff) |
Modify RULES to use numerics instead of notices. I'm pretty sure these are widespread these days, and client authors should <3 us a bit more. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7537 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/users.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/users.cpp b/src/users.cpp index 19bc3c071..12742bbc9 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1932,15 +1932,16 @@ void userrec::ShowRULES() { if (!ServerInstance->Config->RULES.size()) { - this->WriteServ("NOTICE %s :Rules file is missing.",this->nick); + this->WriteServ("434 %s :RULES File is missing",this->nick); return; } - this->WriteServ("NOTICE %s :%s rules",this->nick,ServerInstance->Config->ServerName); + + this->WriteServ("308 %s :- %s Server Rules -",this->nick,ServerInstance->Config->ServerName); for (file_cache::iterator i = ServerInstance->Config->RULES.begin(); i != ServerInstance->Config->RULES.end(); i++) - this->WriteServ("NOTICE %s :%s",this->nick,i->c_str()); + this->WriteServ("232 %s :- %s",this->nick,i->c_str()); - this->WriteServ("NOTICE %s :End of %s rules.",this->nick,ServerInstance->Config->ServerName); + this->WriteServ("309 %s :End of RULES command.",this->nick); } void userrec::HandleEvent(EventType et, int errornum) |