Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Folkinshteyn
c4e5dbbe0b topic now checks for +t mode before denying topic changes, and also allows halfops in addition to ops.
default required capabilities for topic changes (if topic is +t and user is not an op or halfop), are chan,op and chan,halfop
thanks jemfinch for the suggestions.
2010-04-11 12:48:08 -04:00
Daniel Folkinshteyn
b115e0d56f change Topic to have a default required capability set, for all write operations.
by default, now only allows chanops, and users with admin or channel,op capability to change topics
2010-04-09 15:56:16 -04:00
James Vega
a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega
35065b8fc5 plugins/Topic: Remove an unnecessary call to irc.state.getTopic. 2005-06-13 17:13:04 +00:00
Jeremy Fincher
4da1f38235 Fixed the security issue nicktastic reported, and made sure that if, for some reason, an error doesn't raise an exception, it still stops the calling of the command function. 2005-06-01 20:13:33 +00:00
James Vega
fab281b9b7 Long line. 2005-05-29 03:58:39 +00:00
James Vega
d5653077d3 plugins/Topic: Fix a bug with Topic.set where setting topic 1 would set the entire topic. 2005-05-19 17:23:31 +00:00
James Vega
e4242ba994 plugin/Topic: Keep track of what the channel's topic is when we join so that we can undo the first topic change. 2005-05-19 17:21:44 +00:00
James Vega
9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
Jeremy Fincher
b0cb616709 Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin. 2005-02-09 07:04:04 +00:00
James Vega
14837bc544 Added Topic.fit. 2005-02-04 05:04:40 +00:00
Jeremy Fincher
94bfb279e6 Some format character changes, and a little more information on the "Topic exceeds maximum length" error message. 2005-02-02 04:42:22 +00:00
Jeremy Fincher
309b693e86 Added Topic in the new plugin format. 2005-02-02 04:39:30 +00:00