mirror of
https://github.com/anope/anope.git
synced 2026-07-08 23:43:13 +02:00
Moved the core pseudo clients out into their own modules
This commit is contained in:
@@ -87,14 +87,15 @@ class MyXMLRPCEvent : public XMLRPCEvent
|
||||
else
|
||||
request->reply("online", "yes");
|
||||
|
||||
mod_run_cmd(bi, *u, NULL, command);
|
||||
mod_run_cmd(bi, u, NULL, command);
|
||||
|
||||
if (created && u)
|
||||
{
|
||||
XMLRPCUser *myu = debug_cast<XMLRPCUser *>(*u);
|
||||
User *useru = u;
|
||||
XMLRPCUser *myu = debug_cast<XMLRPCUser *>(useru);
|
||||
if (!myu->GetOut().empty())
|
||||
request->reply("return", iface->Sanitize(myu->GetOut()));
|
||||
delete *u;
|
||||
delete u;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user