diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 14:01:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 14:01:33 +0000 |
commit | 5e6e38272250d2862e0eec59ad9ad6710c420e5f (patch) | |
tree | c9cb3f7e750fefe9114d2ffc62f37189382e3a48 /src/xline.cpp | |
parent | 4299e3190c0d72d6723d9db77cc49842dfb9f5a9 (diff) |
Added comments and fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@726 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/xline.cpp')
-rw-r--r-- | src/xline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index d83967aa0..64753674d 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -336,14 +336,14 @@ void sync_xlines(serverrec* serv, char* tcp_host) { if (i->is_global) { - snprintf(data,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->nick,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(data,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->hostmask,i->source,i->set_time,i->duration,i->reason); serv->SendPacket(data,tcp_host); } } |