diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-29 23:28:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-29 23:28:19 +0000 |
commit | 37edb225d7de2592c0a229ce18654d2eb2992f72 (patch) | |
tree | 9957731753fe826ec89418a6d710711c950e6dc0 /src/modules.cpp | |
parent | 5e62a8399f1a7a1e9b0bd02a8df6b1a506d0b203 (diff) |
More removal of formatting where its not neccessary x("%s",str) == bad!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2704 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index cb9a228a2..87df6bdfc 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -425,17 +425,17 @@ void Server::SendMode(char **parameters, int pcnt, userrec *user) void Server::Send(int Socket, std::string s) { - Write(Socket,"%s",s.c_str()); + Write_NoFormat(Socket,s.c_str()); } void Server::SendServ(int Socket, std::string s) { - WriteServ(Socket,"%s",s.c_str()); + WriteServ_NoFormat(Socket,s.c_str()); } void Server::SendFrom(int Socket, userrec* User, std::string s) { - WriteFrom(Socket,User,"%s",s.c_str()); + WriteFrom_NoFormat(Socket,User,s.c_str()); } void Server::SendTo(userrec* Source, userrec* Dest, std::string s) @@ -448,7 +448,7 @@ void Server::SendTo(userrec* Source, userrec* Dest, std::string s) else { // otherwise it comes from the user specified - WriteTo(Source,Dest,"%s",s.c_str()); + WriteTo_NoFormat(Source,Dest,s.c_str()); } } @@ -461,11 +461,11 @@ void Server::SendChannel(userrec* User, chanrec* Channel, std::string s,bool Inc { if (IncludeSender) { - WriteChannel(Channel,User,"%s",s.c_str()); + WriteChannel_NoFormat(Channel,User,s.c_str()); } else { - ChanExceptSender(Channel,User,"%s",s.c_str()); + ChanExceptSender_NoFormat(Channel,User,s.c_str()); } } @@ -478,11 +478,11 @@ void Server::SendCommon(userrec* User, std::string text,bool IncludeSender) { if (IncludeSender) { - WriteCommon(User,"%s",text.c_str()); + WriteCommon_NoFormat(User,text.c_str()); } else { - WriteCommonExcept(User,"%s",text.c_str()); + WriteCommonExcept_NoFormat(User,text.c_str()); } } |