Page 1 of 1

Which index?

Posted: Thu Nov 03, 2005 12:17 am
by Burak
Unreal3.2.3 send to channel mode is which index?

Example: Unreal3.2 in channel.c send to channel mode ;

/* Should stop null modes */
if (*(mode_buf + 1) == '\0')
return;
..bla bla
..

and which index Unreal3.2.3?

Posted: Thu Nov 03, 2005 12:33 am
by Syzop
Ehm, I don't know what you are doing but:

If you are trying to understand the code in general:
Then apparently you don't have enough C knowledge. Learn some more.

If you are trying to modify any unreal source code:
this is not supported, and such threads are locked or deleted.

Posted: Thu Nov 03, 2005 12:46 am
by Burak
I want to not sending +o channel mode

Posted: Thu Nov 03, 2005 4:51 am
by Solutech
So you want to stop ircops setting +O (only ircops can join chan)

If so try using set::restrict-channelmodes <modes> although this can be overidden by services with mlock . Alternatively tell your ops to stop setting +O on chans . If they ignore you then they arent worth having as ops and you should delete their op status .

As stated above modding the source code is a big no no . If you do modify the code then you wont get support here.

Posted: Thu Nov 03, 2005 9:03 am
by Burak
No, not services in ircd Unreal3.2/src/channel.c send to channel modes +o (channel operator @ ). I can edit channel.c too Unreal3.2 but i cant editing Unreal3.2.3 channel.c, ok? I want to not sending channel modes in channel.c


trstr(modebuf,"o") bla bla..

I think..

while (*++modebuf)
if (*modebuf == 'h' || *modebuf == 'o'
|| *modebuf == 'v' || *modebuf == 'q')

your opinion?

Posted: Thu Nov 03, 2005 9:08 am
by Solutech
Looks like your trying to mod the source code and that isnt supported . Nobody here will help you mod the source code . Not even sure if what you wanted could be coded into a module either tbh . Time to wait for a more informed opinion from the mods or admins methinks .

Posted: Thu Nov 03, 2005 11:31 am
by Dukat
Modifying the source is not supported.

Use services (http://forums.unrealircd.com/viewtopic.php?t=312) to deop the first person or w00t's joindeop module (http://www.unrealircd.com/index.php?pag ... dule&id=89).


[locked]

Posted: Thu Nov 03, 2005 3:08 pm
by Syzop
I would also like to suggest not to post any further topics on modifying the source. Such topics from you will be deleted from now on, you have been warned twice already.

Posted: Thu Nov 03, 2005 7:13 pm
by Stealth
I would like to add:
If you do not wan't ops on your server, you can use w00t's joindeop module. This module deops users when they join new channels, so that eliminates all ops on your server, except the ones opers set. This module is available on the Unreal website.

Posted: Sat Nov 05, 2005 5:57 am
by w00t
[this is getting somewhat farsical.. but]


Slight correction on what Stealth said. Opers will still be allowed to hold +o in a new channel. Users will not, unless re-opped by ChanServ, or an oper.