diff options
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 |