diff options
-rw-r--r-- | src/inspircd.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_samode.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 726318a23..7ef71ff3a 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2618,7 +2618,7 @@ void process_modes(char **parameters,userrec* user,chanrec *chan,int status, int WriteChannelWithServ(ServerName,chan,user,"MODE %s %s",chan->name,outstr); // M token for a usermode must go to all servers char buffer[MAXBUF]; - snprintf(buffer,MAXBUF,"M %s %s",ServerName,chan->name, outstr); + snprintf(buffer,MAXBUF,"M %s %s",chan->name, outstr); for (int j = 0; j < 255; j++) { if (servers[j] != NULL) diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp index 480e8c20d..a563a3de5 100644 --- a/src/modules/m_samode.cpp +++ b/src/modules/m_samode.cpp @@ -37,7 +37,7 @@ void handle_samode(char **parameters, int pcnt, userrec *user) result=result + std::string(" ") + std::string(parameters[n]); n++; } - Srv->SendOpers(result); + Srv->SendOpers(result); } class ModuleSaMode : public Module |