diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-11 13:14:52 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-11 13:14:52 +0000 |
commit | ef504cafc4c1dc23a4115ed330205f1f7940e79d (patch) | |
tree | c897781ec8300d6bef640e047f8035436ced1d5a | |
parent | c12034634020cac5c17b6845613c2c168d174d3d (diff) |
Fixed modechange bugs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@522 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/inspircd.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index a6cd98139..0717ee267 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2625,11 +2625,8 @@ void process_modes(char **parameters,userrec* user,chanrec *chan,int status, int { if (strcmp(servers[j]->name,ServerName)) { - if (ChanAnyOnThisServer(chan,servers[j]->name)) - { - me[defaultRoute]->SendPacket(buffer,servers[j]->internal_addr,servers[j]->internal_port,MyKey); - log(DEBUG,"Sent M token"); - } + me[defaultRoute]->SendPacket(buffer,servers[j]->internal_addr,servers[j]->internal_port,MyKey); + log(DEBUG,"Sent M token"); } } } @@ -2650,11 +2647,8 @@ void process_modes(char **parameters,userrec* user,chanrec *chan,int status, int { if (strcmp(servers[j]->name,ServerName)) { - if (ChanAnyOnThisServer(chan,servers[j]->name)) - { - me[defaultRoute]->SendPacket(buffer,servers[j]->internal_addr,servers[j]->internal_port,MyKey); - log(DEBUG,"Sent m token"); - } + me[defaultRoute]->SendPacket(buffer,servers[j]->internal_addr,servers[j]->internal_port,MyKey); + log(DEBUG,"Sent m token"); } } } |