summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 04:13:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 04:13:09 +0000
commitec8a311cccb90f1397dca47c200300678a4e36aa (patch)
tree11f0380562462c68c0c49b7365393867073302dc /src
parentb7849c813319bc12fd9f5b6ae1fe711220694b13 (diff)
Fixed servermode propogation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@520 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp2
-rw-r--r--src/modules/m_samode.cpp2
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