diff options
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r-- | src/modules/m_swhois.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 4a9c38589..0d9adeb4d 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -112,8 +112,7 @@ class ModuleSWhois : public Module { /* Insert our numeric before 312 */ std::string* swhois; - dest->GetExt("swhois", swhois); - if (swhois) + if (dest->GetExt("swhois", swhois)) { ServerInstance->SendWhoisLine(user, dest, 320, "%s %s :%s",user->nick.c_str(), dest->nick.c_str(), swhois->c_str()); } |