diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 13:57:08 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 13:57:08 +0000 |
commit | 4299e3190c0d72d6723d9db77cc49842dfb9f5a9 (patch) | |
tree | c229048ede1082f2c93208e61f858743612d7da2 | |
parent | 098f4bdc41d230b20e243e7d3efc92b8b54c975d (diff) |
Fixed minor typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@725 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/xline.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index b87e236a3..d83967aa0 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -328,7 +328,7 @@ void sync_xlines(serverrec* serv, char* tcp_host) { if (i->is_global) { - snprintf(netdata,MAXBUF,"} %s %s %ld %ld :%s",i->ipaddr,i->source,i->set_time,i->duration,i->reason); + snprintf(data,MAXBUF,"} %s %s %ld %ld :%s",i->ipaddr,i->source,i->set_time,i->duration,i->reason); serv->SendPacket(data,tcp_host); } } @@ -336,14 +336,14 @@ void sync_xlines(serverrec* serv, char* tcp_host) { if (i->is_global) { - snprintf(netdata,MAXBUF,"{ %s %s %ld %ld :%s",i->ipaddr,i->source,i->set_time,i->duration,i->reason); + snprintf(data,MAXBUF,"{ %s %s %ld %ld :%s",i->ipaddr,i->source,i->set_time,i->duration,i->reason); serv->SendPacket(data,tcp_host); } } // glines are always global, so no need to check for (std::vector<GLine>::iterator i = glines.begin(); i != glines.end(); i++) { - snprintf(netdata,MAXBUF,"# %s %s %ld %ld :%s",i->ipaddr,i->source,i->set_time,i->duration,i->reason); + snprintf(data,MAXBUF,"# %s %s %ld %ld :%s",i->ipaddr,i->source,i->set_time,i->duration,i->reason); serv->SendPacket(data,tcp_host); } } |