diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index fd0f39503..af3ef5303 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -526,6 +526,11 @@ void Server::SendTo(userrec* Source, userrec* Dest, std::string s) } } +void Server::SendChannelServerNotice(std::string ServName, chanrec* Channel, std::string text) +{ + WriteChannelWithServ((char*)ServName.c_str(), Channel, "%s", text.c_str()); +} + void Server::SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender) { if (IncludeSender) |