summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-12-21 10:14:38 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-12-21 10:14:38 +0000
commitfbdf2528765323ba8c84e547a95b1dcbafd07239 (patch)
tree138f9e8a8936856dd621dc9459cb9c6744fa6a8d
parent3668ba15437a2b2c3685ff86538829185883ef1c (diff)
BUILD : 1.7.6 (495) BUGS : N/A NOTES : Moved global regarding the deletion of non-existing session toinside the if(debug) as anope will call that function when users ping out etc
git-svn-id: svn://svn.anope.org/anope/trunk@495 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@349 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes3
-rw-r--r--src/sessions.c6
-rw-r--r--version.log7
3 files changed, 11 insertions, 5 deletions
diff --git a/Changes b/Changes
index d25118459..bd4e02700 100644
--- a/Changes
+++ b/Changes
@@ -13,10 +13,11 @@ Provided by Anope Dev. <dev@anope.org> - 2004
11/19 A Added anope_cmd_ctcp() to code API, for sending CTCP messages. [ #00]
11/18 A Unable to use registered nicknames as bot nicks from now on. [ #00]
11/18 A NSAddAccessOnReg to control access list on registration. [ #00]
+12/21 F Moved global about del of non-existant session inside debug() if [ #00]
12/19 F Fixed LogUser messages where the nickip is 0. [#253]
12/19 F Segfault if USERDB enabled and tables don't exist. [#255]
12/18 F Now only builds the ircd you selected. [ #00]
-12/17 F In some cases READONLY was not respected, and data was saved. [#244]
+12/17 F In some cases READONLY was not respected, and data was saved. [#244]
12/17 F Corrected a few mistakes in example.conf. [#251]
12/17 F Wrong column type in tables.sql for nick alias status fiag. [#248]
12/17 F listchans and listnicks work under Cygwin. [#247]
diff --git a/src/sessions.c b/src/sessions.c
index f2726ba10..73bee9ad3 100644
--- a/src/sessions.c
+++ b/src/sessions.c
@@ -286,10 +286,10 @@ void del_session(const char *host)
session = findsession(host);
if (!session) {
- anope_cmd_global(s_OperServ,
- "WARNING: Tried to delete non-existant session: \2%s",
- host);
if (debug) {
+ anope_cmd_global(s_OperServ,
+ "WARNING: Tried to delete non-existant session: \2%s",
+ host);
alog("session: Tried to delete non-existant session: %s",
host);
}
diff --git a/version.log b/version.log
index 041f6d390..4e4050018 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,15 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="6"
-VERSION_BUILD="494"
+VERSION_BUILD="495"
# $Log$
#
+# BUILD : 1.7.6 (495)
+# BUGS : N/A
+# NOTES : Moved global regarding the deletion of non-existing session toinside the if(debug) as anope will call that function when users ping out etc
+#
+#
# BUILD : 1.7.6 (494)
# BUGS : N/A
# NOTES : Added support for plexus IRCD - provided by ThaPrince