diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-01-29 01:07:44 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-01-29 01:07:44 +0000 |
commit | c8a8473bf610d06733c3966ad1306adb06e36b17 (patch) | |
tree | f76e04e392b75d053c85a8431602c0bb55a8f0e8 | |
parent | 08008cf2529138cf92c667896ffb39ba86a00028 (diff) |
BUILD : 1.7.7 (559) BUGS : 291 NOTES : Fixed memoserv issue :)
git-svn-id: svn://svn.anope.org/anope/trunk@559 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@412 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/memoserv.c | 14 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 14 insertions, 7 deletions
@@ -6,6 +6,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005 01/19 A Add simple smtp client, read the README in src/tools for info [ #00] 01/16 A Support for PTlinks VHOST (NEWMASK) command. [ #00] 01/16 A Ulines Servers are now except from NOJOIN bans [#281] +01/29 F Memoserv rsend issue [#291] 01/23 F Fixed u_char warnings under OpenBSD. [ #00] 01/23 F anope_cmd_ctcp() fixed it was setup wrong. [ #00] 01/23 F Checks to make sure Services and Services Alias are not the same [ #00] diff --git a/src/memoserv.c b/src/memoserv.c index 7cf876785..d2fe3e874 100644 --- a/src/memoserv.c +++ b/src/memoserv.c @@ -1406,14 +1406,16 @@ static int do_rsend(User * u) { char *name = strtok(NULL, " "); char *text = strtok(NULL, ""); + NickAlias *na = NULL; int z = 3; - NickAlias *na; - na = findnick(name); - - if (stricmp(na->nc->display, u->na->nc->display) == 0) { - notice_lang(s_MemoServ, u, MEMO_NO_RSEND_SELF); - return MOD_CONT; + if ((na = findnick(name))) { + if (u->na) { + if (stricmp(na->nc->display, u->na->nc->display) == 0) { + notice_lang(s_MemoServ, u, MEMO_NO_RSEND_SELF); + return MOD_CONT; + } + } } if (MSMemoReceipt == 1) { diff --git a/version.log b/version.log index 71ff9b22e..67f824e89 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="7" -VERSION_BUILD="558" +VERSION_BUILD="559" # $Log$ # +# BUILD : 1.7.7 (559) +# BUGS : 291 +# NOTES : Fixed memoserv issue :) +# # BUILD : 1.7.7 (558) # BUGS : N/A # NOTES : Should really fix gcc2 stuff |