Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Help Request: Getting Quit Reasons  (Read 3344 times)

0 Members and 1 Guest are viewing this topic.

Jeren

  • Guest
Help Request: Getting Quit Reasons
« 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.
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #1 on: March 25, 2006, 01:56:49 AM »

basically got trap the QUIT message, no way around it
Logged
my God my tourniquet, return to me salvation

Jeren

  • Guest
(No subject)
« Reply #2 on: March 25, 2006, 06:25:54 PM »

But would that get ping and peer messages?
Logged

Certus

  • Anope User
  • Offline Offline
  • Posts: 14
(No subject)
« Reply #3 on: March 26, 2006, 09:45:14 AM »

yes, you just have to filter them.
Logged
Shave the dolphins!

Jeren

  • Guest
(No subject)
« Reply #4 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?
Logged
Pages: [1]   Go Up