diff options
| author | 2013-04-09 19:12:09 +0200 | |
|---|---|---|
| committer | 2013-04-10 17:28:08 +0200 | |
| commit | ca0083cba90c8830f5018b73eb715665a8db9dd7 (patch) | |
| tree | 20d335e4d7c2f886fbce00d494eead769d22c543 /src/modules/m_httpd_stats.cpp | |
| parent | Update Window's .gitignore (diff) | |
| download | inspircd++-ca0083cba90c8830f5018b73eb715665a8db9dd7.tar.gz inspircd++-ca0083cba90c8830f5018b73eb715665a8db9dd7.tar.bz2 inspircd++-ca0083cba90c8830f5018b73eb715665a8db9dd7.zip | |
Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
| -rw-r--r-- | src/modules/m_httpd_stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index b3a13ada6..3af9ee754 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -187,9 +187,9 @@ class ModuleHttpStats : public Module data << "<nickname>" << u->nick << "</nickname><uuid>" << u->uuid << "</uuid><realhost>" << u->host << "</realhost><displayhost>" << u->dhost << "</displayhost><gecos>" << Sanitize(u->fullname) << "</gecos><server>" << u->server << "</server>"; - if (IS_AWAY(u)) + if (u->IsAway()) data << "<away>" << Sanitize(u->awaymsg) << "</away><awaytime>" << u->awaytime << "</awaytime>"; - if (IS_OPER(u)) + if (u->IsOper()) data << "<opertype>" << Sanitize(u->oper->NameStr()) << "</opertype>"; data << "<modes>" << u->FormatModes() << "</modes><ident>" << Sanitize(u->ident) << "</ident>"; LocalUser* lu = IS_LOCAL(u); |
