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:
+1
-1
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user