diff options
-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 |