X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_ident.cpp;h=0f746b05b1e0340f4f863c3260f8233fa7b0796f;hb=HEAD;hp=73dc64cf02dd02be4ddb816e12a802e5ac32b8cf;hpb=0a6b1e1a7de92e078a98f0b955d2624e5b85e4c1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 73dc64cf0..0f746b05b 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -6,9 +6,9 @@ * Copyright (C) 2012-2013 Robby * Copyright (C) 2009-2010 Daniel De Graaf * Copyright (C) 2008 Robin Burchell - * Copyright (C) 2007, 2010 Craig Edwards * Copyright (C) 2007 John Brooks * Copyright (C) 2007 Dennis Friis + * Copyright (C) 2005, 2007, 2010 Craig Edwards * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -331,7 +331,7 @@ class ModuleIdent : public Module return; // We don't want to look this up once the user has connected. - if (user->registered == REG_ALL) + if (user->registered == REG_ALL || user->quitting) return; ConfigTag* tag = user->MyClass->config;