[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 »

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.
westor
Official supporter
Posts: 21
Joined: Fri Feb 15, 2013 9:42 pm
Location: Greece
Contact:

Re: [Module Fix:] m_nocaps.c

Post by westor »

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 !
IRC.ChatHUB.ORG
I Would Like To Kiss You But I Cant Tell Me Why Not My BaBy ? ? ?
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 »

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 »

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 »

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
Edit: Check out the repository of this code https://github.com/dboyz/unrealircd-modules/
Post Reply