diff options
author | Robby- <robby@chat.be> | 2013-09-14 14:45:54 +0200 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-27 19:11:02 -0400 |
commit | 6ac0364f7469168b9fafd1768d447c1173c1a9b0 (patch) | |
tree | f822c027c75e150b2f8681a14782feea48ae928b /modules/commands/os_stats.cpp | |
parent | 4f820a7d41dbdf83b27005dcfb02507206708d6b (diff) |
Fix os_stats to display SQLINEs and SNLINEs on non-supporting IRCds
Diffstat (limited to 'modules/commands/os_stats.cpp')
-rw-r--r-- | modules/commands/os_stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_stats.cpp b/modules/commands/os_stats.cpp index 48c0331f2..e2a3e5603 100644 --- a/modules/commands/os_stats.cpp +++ b/modules/commands/os_stats.cpp @@ -76,7 +76,7 @@ class CommandOSStats : public Command else source.Reply(_("Default AKILL expiry time: \002No expiration\002")); } - if (IRCD->CanSNLine && snlines) + if (snlines) { /* SNLINEs */ source.Reply(_("Current number of SNLINEs: \002%d\002"), snlines->GetCount()); @@ -96,7 +96,7 @@ class CommandOSStats : public Command else source.Reply(_("Default SNLINE expiry time: \002No expiration\002")); } - if (IRCD->CanSQLine && sqlines) + if (sqlines) { /* SQLINEs */ source.Reply(_("Current number of SQLINEs: \002%d\002"), sqlines->GetCount()); |