From 0aa8769b05aa4d25b144d48bc98733c8f1484ea7 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 9 Apr 2004 16:00:40 +0000 Subject: Fixed strcmp typo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@469 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index aa6f93132..1ad043632 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -5069,7 +5069,7 @@ void DoSync(serverrec* serv, char* udp_host,int udp_port, long MyKey) { snprintf(data,MAXBUF,"C %s %d %s :%s",c->second->name,c->second->created,c->second->setby,chanmodes(c->second)); serv->SendPacket(data,udp_host,udp_port,MyKey); - if (strcmp(c->second->topic),"") + if (strcmp(c->second->topic,"")) { snprintf(data,MAXBUF,"T %d %s :%s",c->second->topicset,c->second->name,c->second->topic); } -- cgit v1.2.3