diff options
| author | 2005-12-30 00:48:43 +0000 | |
|---|---|---|
| committer | 2005-12-30 00:48:43 +0000 | |
| commit | 760e6d30174964085ce2b92ecd1b5a7b7080c555 (patch) | |
| tree | 8a94da34cd5eb5b3a0ececee95f658071b8fcdc3 /src/modules.cpp | |
| parent | Double copies due to bad chop() (diff) | |
Optimized out some more redundant va_args voodoo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2706 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 87df6bdfc..d76f20f5f 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -454,7 +454,7 @@ 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()); + WriteChannelWithServ_NoFormat((char*)ServName.c_str(), Channel, text.c_str()); } void Server::SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender) |
