From ef504cafc4c1dc23a4115ed330205f1f7940e79d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Apr 2004 13:14:52 +0000 Subject: Fixed modechange bugs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@522 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 14 ++++---------- 1 file 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"); } } } -- cgit v1.2.3