diff options
author | Adam <Adam@anope.org> | 2016-11-11 12:58:14 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-11-11 12:58:14 -0500 |
commit | ef5b6919e3508cc9d4c722285d9d56f5a275f650 (patch) | |
tree | 56497f0a4f5d1847bae511c72bdb2d3581df58ef /modules/xmlrpc_main.cpp | |
parent | 8dd6e3195ed7600e39935e887df2626215733dfb (diff) |
Fix opers not really being serializable
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; |