1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-02 10:06:39 +02:00

- Fixed botmotd crash due to last change (post-3.2.2).

This commit is contained in:
Bram Matthys
2004-11-10 16:48:24 +00:00
parent c2d22329b9
commit c3c29d38da
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -445,3 +445,4 @@
- Removed an excess space from the SAMODE notice when a mode without a parameter was set
(#0002134) reported by Bugz.
- Fixed small memory leak on /rehash (post-3.2.2).
- Fixed botmotd crash due to last change (post-3.2.2).
+4 -1
View File
@@ -1356,7 +1356,10 @@ CMD_FUNC(m_botmotd)
parv) != HUNTED_ISME)
return 0;
strlcpy(userhost,make_user_host(cptr->user->username, cptr->user->realhost), sizeof userhost);
if (!IsPerson(sptr))
return 0;
strlcpy(userhost,make_user_host(sptr->user->username, sptr->user->realhost), sizeof userhost);
ptr = Find_tld(sptr, userhost);
if (ptr)