19 Commits

Author SHA1 Message Date
James Lu
2ebe1800c6 OperUp: rework numeric logging
- Include full messages for the numerics we care about
- Remove handlers for 464 and 481; they aren't useful for our purposes

(cherry picked from commit 0906dc554d874f155158ffa6ef8c9a1b0b1b2baf)
2018-02-23 19:13:55 -05:00
James Lu
1b2ee38fd0 OperUp: unset _oper_tried_oper on disconnect
Closes #67.

(cherry picked from commit 1d20f5afd511b45f165f268346ee8e4bc598556b)
2018-02-23 19:13:55 -05:00
James Lu
31a9a699fb OperUp: write tried_oper flag to irc.state, as attributes under irc are not persistant
(cherry picked from commit 06e00beea6b66a885e5aaec803465eb869275f7f)
2017-11-23 00:01:53 -08:00
James Lu
34f7a765cb OperUp: don't try to autooper multiple times
This fixes an infinite loop when receiving OPERMOTDs that use the regular MOTD numerics (e.g. on InspIRCd).

(cherry picked from commit 8c0b8d91a17a62cead22553c80b84b6d190df8df)
2017-11-23 00:01:53 -08:00
James Lu
4a6a13992c OperUp: cleanup and reindent
(cherry picked from commit 6fdcdefca69d45bd823d913400448719cc84db23)
2017-11-23 00:01:53 -08:00
James Lu
dc1ec8e602 OperUp: remove 461 handler
ERR_NEEDMOREPARAMS is very general and can be triggered by other commands too.

(cherry picked from commit 4081afc999ba46bd8d87cbe10aa71fb38786316c)
2017-11-23 00:01:53 -08:00
James Lu
0226332b86 OperUp: fix wrong numeric in do464 logging
(cherry picked from commit 6dc362041c21ef793ae014d596394cbf8ce8f0f1)
2017-11-23 00:01:53 -08:00
James Lu
4f4e76b57a OperUp: remove extraneous numeric 377 handler
The only MOTD-related usage of this is deprecated according to http://defs.ircdocs.horse/defs/numerics.html#rpl-kickexpired-377

(cherry picked from commit 4b5795b9ce4541840ec58a23be5fc84919295c32)
2017-11-23 00:01:53 -08:00
James Lu
c581acde08 OperUp: listen for 376/422 (end of MOTD) instead of 005
There can be more than one 005 message sent on connect (depending on IRCd), and that would've triggered auto-oper multiple times!
2015-09-19 23:13:07 -07:00
James Lu
97c8238554 Bump version to 2015.09.19, restore OperUp 2015-09-19 23:00:29 -07:00
James Lu
51c15b1154 Drop OperUp, update README 2015-01-05 18:45:23 -08:00
James Lu
fb00466e4c WTE/NoTrigger/OperUp/PkgInfo/Voteserv: update logging formatting 2014-12-13 11:35:12 -08:00
James Lu
418809872d Small changes to plugins 2014-10-28 20:06:11 -07:00
GLolol
480c89e39f OperUp: disallow nesting 2014-02-11 19:17:22 -08:00
GLolol
82d9d73e0b OperUp: add option to toggle autooper 2014-01-29 11:09:55 -08:00
GLolol
bba08d784d OperUp: document the functions too! 2014-01-28 19:47:03 -08:00
GLolol
cc922126cb OperUp: use ircmsgs.mode 2014-01-28 19:45:01 -08:00
GLolol
10cdf34797 OperUp: document plugin & wrap the longer lines 2014-01-28 19:41:55 -08:00
GLolol
41a2c962ea Add OperUp plugin; make Hostmasks plugin threaded 2014-01-28 19:33:42 -08:00