[Module Fix:] m_nocaps.c

These are old archives. They are kept for historic purposes only.
Post Reply
dboyz
Posts: 68
Joined: Tue Jun 14, 2011 6:36 am

[Module Fix:] m_nocaps.c

Post by dboyz » Mon Oct 22, 2012 6:13 am

I have decided to 'try' to fix this module myself.

I downloaded the original copy of this module from the internet (the reliability of the source can be questioned).
Please help me verify if this module is the actual module that was available in modules.unrealircd.org some time ago.

Version 1.3
Changes: Added line 151 to fix previous bug.

Note: This module has not been fully tested. Please do not use it unless for testing purposes.
Attachments
m_nocaps.tar.gz
(1.68 KiB) Downloaded 219 times

westor
Posts: 15
Joined: Fri Feb 15, 2013 9:42 pm

Re: [Module Fix:] m_nocaps.c

Post by westor » Fri Feb 15, 2013 9:53 pm

I have downloaded and loaded to 5 servers of my network and have problems .. The channel has not the NOCAPS mode and the user could not message with caps inside the channel, i tryied to unload and i could not i had to restart ALL my servers, this module DOES NOT working in 3.2.10 !

MightyWings
Posts: 20
Joined: Fri Feb 26, 2010 12:06 pm
Location: Portadown, Northern Ireland
Contact:

Re: [Module Fix:] m_nocaps.c

Post by MightyWings » Sun Feb 17, 2013 7:00 pm

then perhaps this module is a PERMANENT module which requires a server restart to unload.
MightyWings

dboyz
Posts: 68
Joined: Tue Jun 14, 2011 6:36 am

Re: [Module Fix:] m_nocaps.c

Post by dboyz » Sat Apr 13, 2013 4:59 am

Hi. Anyone else having the same issue? I am not able to reproduce westor's issue on a single server.

dboyz
Posts: 68
Joined: Tue Jun 14, 2011 6:36 am

Re: [Module Fix:] m_nocaps.c

Post by dboyz » Wed Apr 22, 2015 5:06 am

Hi. this is Version 1.4 of m_nocaps.c

This version contains a long due fix that should correct the bug that westor reported.
Credits to Jobe for helping out!

Version 1.4
Changes:
1) Reindentation, introduce missing braces and remove whitespaces.
2) Switch '&&' to '&' boolean operator as pointed out by Jobe in 04 August 2013.
3) Check for errors during module loading, report it and discontinue loading.
4) Switch to channel mode +x from previous +d (now occupied in unreal 3.4)
m_nocaps-1.4.tar.gz
(1.81 KiB) Downloaded 46 times
Edit: Check out the repository of this code https://github.com/dboyz/unrealircd-modules/

Post Reply