I'm looking for a way to prohibit users from posting links to a channel/notices/pm's unless they are registered.
Much of like a spamfilter cpnNPqa that is only active for users with usermode +r. (It would even be greater if spamfilter supported this?)
Any ideas?
Search found 7 matches
- Sat Feb 09, 2013 5:34 pm
- Forum: Unreal 3.2 Modules
- Topic: Nospam module
- Replies: 0
- Views: 10611
- Mon Nov 21, 2011 10:29 pm
- Forum: Unreal 3.2 Support
- Topic: IPv6 Allow block
- Replies: 1
- Views: 2183
IPv6 Allow block
When trying to connect our ZNC users to the upgraded Unreal 3.2.9, we get the following error: (23:05:50) (*status) Attempting to connect to [2001:470:d418:10::30 6667] ... (23:05:50) (*status) Error from Server [Closing Link: cedric[2001:470:d418:10:0:0:0:32] (Too many connections from your IP)] Th...
- Sat Nov 19, 2011 11:50 pm
- Forum: Unreal 3.2 Modules
- Topic: Stripcolor umode
- Replies: 7
- Views: 4886
Re: Stripcolor umode
Ok, I came up with a VERY, VERY basic result :P It doesn't check whether the packet contains a NOTICE, a PRIVMSG or a PING. It calls StripControlCodes on EVERY packet, regardless of the command. Regardless of the fact that it may be bad practice to modify the actual packet, or the module being ineff...
- Sat Nov 19, 2011 1:31 pm
- Forum: Unreal 3.2 Modules
- Topic: Stripcolor umode
- Replies: 7
- Views: 4886
Re: Stripcolor umode
Thank you both for your replies, I will hook into HOOKTYPE_PACKET for now.
It's probably the easiest way to accomplish my goal.
I'll submit the module when it's done (and if I get it to work )
A new HOOKTYPE for this particular case might be a nice addition for a future release
It's probably the easiest way to accomplish my goal.
I'll submit the module when it's done (and if I get it to work )
A new HOOKTYPE for this particular case might be a nice addition for a future release
- Fri Nov 18, 2011 8:43 pm
- Forum: Unreal 3.2 Modules
- Topic: Stripcolor umode
- Replies: 7
- Views: 4886
Re: Stripcolor umode
Unfortunately it's not that easy :/I've based myself on the nocolorumode module, which only strips colors from PMs.
- Fri Nov 18, 2011 8:01 pm
- Forum: Unreal 3.2 Modules
- Topic: Stripcolor umode
- Replies: 7
- Views: 4886
Re: Stripcolor umode
I've come to understand that my current aproach won't work when using prefixes in PRIVMSG's (like PRIVMSG %#chan :text). When hooking into HOOKTYPE_CHANMSG, it's not possible to know about the prefix it's being sent to (?). It's also not possible to modify the text on a per-user basis. Some users mu...
- Thu Nov 17, 2011 11:42 pm
- Forum: Unreal 3.2 Modules
- Topic: Stripcolor umode
- Replies: 7
- Views: 4886
Stripcolor umode
Hello, I'm developing a module that allows a user to set usermode +c, after which he won't see colors in any channel or PM. The clients that connect to our server don't have the capability to strip colors on their side. Channelmode +S is not an option either. I was wondering if someone could review ...