1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 14:56:39 +02:00

Fix crash loading enc_old prior to the proto mods

This commit is contained in:
Adam
2016-11-03 22:54:35 -04:00
parent 07f72a3122
commit 4b97a9b13f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -816,7 +816,7 @@ bool User::BadPassword()
User* User::Find(const Anope::string &name, bool nick_only)
{
if (!nick_only && IRCD->RequiresID)
if (!nick_only && IRCD && IRCD->RequiresID)
{
user_map::iterator it = UserListByUID.find(name);
if (it != UserListByUID.end())