summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-21 07:45:48 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-21 07:45:48 +0000
commitbbfd6d046973a2cda5724c0f6101b0d7f3d186a0 (patch)
tree3234c5730ce930be070eb6597d0afcde2e95fdd6
parent8c363e309e113dc59781f122428faedad6d8c1c4 (diff)
# BUILD : 1.7.13 (1013) # BUGS : # NOTES : bs will now check for a bot on /bs kick
git-svn-id: svn://svn.anope.org/anope/trunk@1013 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@738 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/core/bs_kick.c2
-rw-r--r--version.log6
3 files changed, 8 insertions, 1 deletions
diff --git a/Changes b/Changes
index 03180a911..c303d492a 100644
--- a/Changes
+++ b/Changes
@@ -39,6 +39,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
03/18 F Fixed sstrdup() with NULL argument in cs_akick.c. [#460]
03/18 F Fixed charybdis umodes. [#471]
03/19 F Fixed a gcc4 compiling issue. [#453]
+03/21 F Fixed bot check on /bs kick. [ #00]
Provided by nenolod. <nenolod@nenolod.net> - 2006
02/03 A Support for Charybdis IRCd. [ #00]
diff --git a/src/core/bs_kick.c b/src/core/bs_kick.c
index abedbd550..a84a718b4 100644
--- a/src/core/bs_kick.c
+++ b/src/core/bs_kick.c
@@ -111,6 +111,8 @@ int do_kickcmd(User * u)
notice_lang(s_BotServ, u, CHAN_X_FORBIDDEN, chan);
else if (!is_services_admin(u) && !check_access(u, ci, CA_SET))
notice_lang(s_BotServ, u, ACCESS_DENIED);
+ else if (!ci->bi)
+ notice_lang(s_BotServ, u, BOT_DOES_NOT_EXIST, chan);
else {
if (!stricmp(option, "BADWORDS")) {
if (!stricmp(value, "ON")) {
diff --git a/version.log b/version.log
index c4a1d3436..7118ec390 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="13"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1012"
+VERSION_BUILD="1013"
# $Log$
#
+# BUILD : 1.7.13 (1013)
+# BUGS :
+# NOTES : bs will now check for a bot on /bs kick
+#
# BUILD : 1.7.13 (1012)
# BUGS : 453
# NOTES : gcc4 compiling fixes