Anope IRC Services

Anope Development => Modules => Topic started by: Jeren on March 24, 2006, 06:49:34 PM

Title: Help Request: Getting Quit Reasons
Post 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.
Title:
Post by: Trystan Scott Lee on March 25, 2006, 01:56:49 AM
basically got trap the QUIT message, no way around it
Title:
Post by: Jeren on March 25, 2006, 06:25:54 PM
But would that get ping and peer messages?
Title:
Post by: Certus on March 26, 2006, 09:45:14 AM
yes, you just have to filter them.
Title:
Post by: Jeren on March 28, 2006, 02:16:51 AM
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?