summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-05-25 14:29:30 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-05-25 14:29:30 +0000
commita3a787412be30089c8f02a52237f933dab383e87 (patch)
tree445ae08096817c5ba73a3c25010b2323c78cab02
parent295d457c4403639bb1d165ccef25acbcdd45ebf2 (diff)
BUILD : 1.7.14 (1039) BUGS : 493 NOTES : Fixed /bs BOT CHANGE not setting new Q:Line when only nick was changed
git-svn-id: svn://svn.anope.org/anope/trunk@1039 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@763 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/core/bs_bot.c8
-rw-r--r--version.log6
3 files changed, 11 insertions, 4 deletions
diff --git a/Changes b/Changes
index 2fec72f1c..917170e79 100644
--- a/Changes
+++ b/Changes
@@ -11,6 +11,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
05/25 F NICKIP/NICKv2 support on unreal32. [#507]
05/25 F src/bin/register being too case sensitive on YES. [#500]
05/25 F src/bin/register still said ./configured instead of ./Config . [ #00]
+05/25 F Q:Line not added for bots when only changing nicks. [#493]
Provided by ThaPrince <jon@vile.com> - 2006
05/19 A Plexus 3 support. [ #00]
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c
index 7ada659c6..f406d4df1 100644
--- a/src/core/bs_bot.c
+++ b/src/core/bs_bot.c
@@ -299,10 +299,12 @@ int do_bot(User * u)
}
/* If only the nick changes, we just make the bot change his nick,
- else we must make it quit and rejoin. */
- if (!user)
+ else we must make it quit and rejoin. We must not forget to set
+ the Q:Line either (it's otherwise set in anope_cmd_bot_nick) */
+ if (!user) {
anope_cmd_chg_nick(oldnick, bi->nick);
- else {
+ anope_cmd_sqline(bi->nick, "Reserved for services");
+ } else {
anope_cmd_quit(oldnick, "Quit: Be right back");
anope_cmd_bot_nick(bi->nick, bi->user, bi->host, bi->real,
diff --git a/version.log b/version.log
index ebe83afca..b0796e313 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="14"
VERSION_EXTRA=""
-VERSION_BUILD="1038"
+VERSION_BUILD="1039"
# $Log$
#
+# BUILD : 1.7.14 (1039)
+# BUGS : 493
+# NOTES : Fixed /bs BOT CHANGE not setting new Q:Line when only nick was changed
+#
# BUILD : 1.7.14 (1038)
# BUGS : 500
# NOTES : Updated register script; it now accepts YES, yes, and Yes as valid values and tells about ./Config instead of ./configure