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>2005-09-20 19:22:06 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-09-20 19:22:06 +0000
commita7b8148370e17de82de91d7e42bd8b6a14795e64 (patch)
treeb5a9cda5d926452cd1d03ef27c37682c33ae839b
parent717e1a1d58ec09078f2fd487cb9daa0b5075e44b (diff)
BUILD : 1.7.11 (891) BUGS : NOTES : Fixed bot ident length checking and sending a reponse when loading a non-existing module
git-svn-id: svn://svn.anope.org/anope/trunk@891 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@638 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes2
-rw-r--r--src/chanserv.c2
-rw-r--r--src/core/bs_bot.c2
-rw-r--r--src/modules.c5
-rw-r--r--version.log6
5 files changed, 14 insertions, 3 deletions
diff --git a/Changes b/Changes
index 7951599db..5f0b47dcf 100644
--- a/Changes
+++ b/Changes
@@ -8,6 +8,8 @@ Provided by Anope Dev. <dev@anope.org> - 2005
07/01 A Events for channel access/xop updates. [ #00]
06/26 A New module pack module: hs_request. [ #00]
06/03 A Protocol files can now fill mod_current_buffer with custom code. [#389]
+09/20 F Ident length checking when adding a bot was broken. [ #00]
+09/20 F No response was giving when trying to load a non-existing module. [ #00]
09/18 F Last host was not always correctly set to a vHost if applied. [ #00]
09/14 F Various issues with handling the version identifiers. [ #00]
09/13 F make strict/profile now work for core and protocol files. [ #00]
diff --git a/src/chanserv.c b/src/chanserv.c
index f3bf88483..a2e2f6b0a 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -1819,7 +1819,7 @@ ChannelInfo *cs_findchan(const char *chan)
if (!chan || !*chan) {
if (debug) {
- alog("debug: finduser() called with NULL values");
+ alog("debug: cs_findchan() called with NULL values");
}
return NULL;
}
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c
index cd826d39d..45dc2d4a6 100644
--- a/src/core/bs_bot.c
+++ b/src/core/bs_bot.c
@@ -101,6 +101,8 @@ int do_bot(User * u)
notice_lang(s_BotServ, u, BOT_BOT_ALREADY_EXISTS, nick);
else if (strlen(nick) > NickLen)
notice_lang(s_BotServ, u, BOT_BAD_NICK);
+ else if (strlen(user) >= USERMAX)
+ notice_lang(s_BotServ, u, BOT_BAD_IDENT);
else {
NickAlias *na;
diff --git a/src/modules.c b/src/modules.c
index ea4dbeea6..d420bfa1a 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -518,8 +518,11 @@ int loadModule(Module * m, User * u)
strncat(buf, "XXXXXX", 4095 - len);
buf[4095] = '\0';
/* Don't skip return value checking! -GD */
- if ((ret = moduleCopyFile(m->name, buf)) != MOD_ERR_OK)
+ if ((ret = moduleCopyFile(m->name, buf)) != MOD_ERR_OK) {
+ if (u)
+ notice_lang(s_OperServ, u, OPER_MODULE_LOAD_FAIL, m->name);
return ret;
+ }
m->filename = sstrdup(buf);
ano_modclearerr();
diff --git a/version.log b/version.log
index 00815b8dc..d4adf9790 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="11"
VERSION_EXTRA="-rc2"
-VERSION_BUILD="890"
+VERSION_BUILD="891"
# $Log$
#
+# BUILD : 1.7.11 (891)
+# BUGS :
+# NOTES : Fixed bot ident length checking and sending a reponse when loading a non-existing module
+#
# BUILD : 1.7.11 (890)
# BUGS :
# NOTES : Fixed common_get_vhost/vident to also return vhost/vident on ircds without usermode for vhost/vident