diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-04 17:16:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-04 17:16:22 +0000 |
commit | 4b7c157f63daae9c59170c8947c1caea48384cf3 (patch) | |
tree | fe978781296218a361c84600ea846a3be6fc2c2a /include | |
parent | 4ff0001c260adb74d5259de0f3b43334bdc7683b (diff) |
Added notice-to-servermask
Added ability to output 'is an oper but i dont know what type' in WHOIS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2152 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/helperfuncs.h | 2 | ||||
-rw-r--r-- | include/inspircd.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/helperfuncs.h b/include/helperfuncs.h index 53a3d233b..796b2b386 100644 --- a/include/helperfuncs.h +++ b/include/helperfuncs.h @@ -45,6 +45,8 @@ bool ChanAnyOnThisServer(chanrec *c,char* servername); bool CommonOnThisServer(userrec* u,const char* servername); void WriteMode(const char* modes, int flags, const char* text, ...); void NoticeAll(userrec *source, bool local_only, char* text, ...); +void ServerNoticeAll(char* text, ...); +void ServerPrivmsgAll(char* text, ...); void WriteWallOps(userrec *source, bool local_only, char* text, ...); void strlower(char *n); userrec* Find(std::string nick); diff --git a/include/inspircd.h b/include/inspircd.h index ec5f7b26c..1c95eb9e5 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -108,6 +108,8 @@ bool LoadModule(const char* filename); bool UnloadModule(const char* filename); char* ModuleError(); void NoticeAll(userrec *source, bool local_only, char* text, ...); +void ServerNoticeAll(char* text, ...); +void ServerPrivmsgAll(char* text, ...); void NoticeAllOpers(userrec *source, bool local_only, char* text, ...); // optimization tricks to save us walking the user hash |