Arctem / arcbot

IRC bot created in my free time, pretty poor code because I never planned it to be this large or have more than a couple random features.
3 stars 5 forks source link

Add better admin support/authentication. #13

Open Arctem opened 9 years ago

Utanith commented 8 years ago

Here's a note: You can check if a user is authenticated with nickserv via the WHO command, but NOT by using the filter to search for the +r flag that indicates a user is registered! If you WHO a user and they're authenticated with nickserv, the fifth (zero-index) item in the reply will contain the character 'r'. It also contains their idle status (H or G) and if they're op or something like that.

Edit: The reply event this triggers is WHOREPLY (352)

Arctem commented 8 years ago

Yeah, adding NickServ support is definitely an ideal way to make this work better. Currently I can define admins but there's nothing preventing someone from imitating an admin except for the fact that we're never offline.

Arctem commented 7 years ago

Tying this to NickServ is actually probably not a great choice since we might be out of luck if it's down. Will need to consider how closely it is tied.