summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 64753674d..c8aa4872a 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -602,8 +602,9 @@ void apply_lines()
char* check = matches_zline(u->second->ip);
if (check)
{
+ snprintf(reason,MAXBUF,"Z-Lined: %s",check);
WriteOpers("*** User %s matches Z-Line: %s",u->second->nick,u->second->host,check);
- WriteServ(u->second->fd,"432 %s %s :Invalid nickname: %s",u->second->nick,u->second->nick,check);
+ kill_link(u->second,reason);
go_again = true;
break;
}