Anope IRC Services
Anope Development => Modules => Topic started by: Jeren on March 24, 2006, 06:49:34 PM
-
Greetings.
In my search through the Anope code, I do not see a way to retrieve a user's quit reason. Of course, I could catch a QUIT message and get the argument after that, but that wouldn't catch ping timeouts or other such disconnections.
Any suggestions on how to get that information for a module? Thank you.
-
basically got trap the QUIT message, no way around it
-
But would that get ping and peer messages?
-
yes, you just have to filter them.
-
So if I trap the QUIT message, the following argument would be the quit reason, whether its "Ping Timeout" or "Quit: I like quitting", etc?