From 7a0de228fc108a6ea46c6657f24df12d6e60f192 Mon Sep 17 00:00:00 2001 From: codemastr Date: Tue, 9 Jan 2001 23:26:10 +0000 Subject: [PATCH] Fixed a shun bug --- Changes | 1 + src/s_kline.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 13d3ed2d3..5023db023 100644 --- a/Changes +++ b/Changes @@ -89,3 +89,4 @@ - X:line was replaced with drpass {} in /restart and /die (will make them faster as well) - Made +u do a auditorium/star chat feature, suggested by |Martin|======= - Fixed a G:line bug that would allow certain masks to be interpreted as *@* +- Fixed the same bug in shun that affected G:line diff --git a/src/s_kline.c b/src/s_kline.c index c06853810..7b521f07b 100644 --- a/src/s_kline.c +++ b/src/s_kline.c @@ -1032,7 +1032,7 @@ int m_shun(aClient *cptr, aClient *sptr, int parc, char *parv[]) nochecks: usermask = strtok(mask, "@"); - hostmask = strtok(NULL, "@"); + hostmask = strtok(NULL, ""); tkl_check_expire(); for (tk = tklines; tk; tk = tk->next)