diff options
author | Adam <Adam@anope.org> | 2016-11-03 22:54:35 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-11-03 22:54:35 -0400 |
commit | 4b97a9b13f2aa2b27e1ecd050db3b94f9b40ac77 (patch) | |
tree | e7fa7185cd3f054be7a002de19e4a119ff900cc7 /src | |
parent | 07f72a3122479bb10c923a5f72b316297e388a7f (diff) |
Fix crash loading enc_old prior to the proto mods
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 264f5ceba..25e558c5f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -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()) |