diff options
Diffstat (limited to 'modules/xmlrpc_main.cpp')
-rw-r--r-- | modules/xmlrpc_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/xmlrpc_main.cpp b/modules/xmlrpc_main.cpp index cdbcf3266..dda4f4171 100644 --- a/modules/xmlrpc_main.cpp +++ b/modules/xmlrpc_main.cpp @@ -242,8 +242,8 @@ class MyXMLRPCEvent : public XMLRPCEvent if (u->Account()) { request.reply("account", iface->Sanitize(u->Account()->GetDisplay())); - if (u->Account()->o) - request.reply("opertype", iface->Sanitize(u->Account()->o->GetType()->GetName())); + if (u->Account()->GetOper()) + request.reply("opertype", iface->Sanitize(u->Account()->GetOper()->GetType()->GetName())); } Anope::string channels; |