Anope IRC Services

Anope Development => Modules => Topic started by: Chimp on May 06, 2007, 08:54:59 AM

Title: notinchanlist
Post by: Chimp on May 06, 2007, 08:54:59 AM
when i do the join for notinchanlist, it just runs another scan. whats wrong
Title:
Post by: SNU on May 06, 2007, 10:58:35 AM
nothing?

If there is nobody found, it cant join anybody. So it looks like a pure scan.
Title:
Post by: Chimp on May 06, 2007, 05:59:56 PM
are u trying to be funny or something?
obviously it found some "people" and i wanted to join them but it didnt do anything
Title:
Post by: n00bie on May 06, 2007, 06:19:36 PM
Chimp, what IRCd are you using. Maybe your using the wrong module for your IRCd. Just a guess.
Title:
Post by: Chimp on May 06, 2007, 06:38:05 PM
unreal
Title:
Post by: Jan Milants on May 06, 2007, 09:18:38 PM
anope version ?

os_notinchanlist does not work on versions pre 1.7.15

[Edited on 6-5-2007 by Viper]
Title:
Post by: SNU on May 06, 2007, 11:04:59 PM
Quote
Chimp
are u trying to be funny or something?


MAybe we misundrstood us. I interpreted your question as: "When I do /os notinchanlist join it always does a scan alhough I did /os notinchanlist before..."
I thought you did not know that this modules always scans before it does the action.

greets.
Title:
Post by: Chimp on May 07, 2007, 03:53:21 AM
not sure but im sure after 1.7.15
Title:
Post by: Jan Milants on May 07, 2007, 07:50:50 AM
paste the output of following cmds pls
//raw version  (mirc syntax, dunno about other clients)
//raw version services* (idem)
/os modlist
Title:
Post by: Chimp on May 08, 2007, 03:38:49 AM
CMDS=KNOCK,MAP,DCCALLOW,USERIP NAMESX SAFELIST HCN MAXCHANNELS=10 CHANLIMIT=#:10 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 are supported by this server
WALLCHOPS WATCH=128 SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(qaohv)~&@%+ CHANMODES=beI,kfL,lj,psmntirRcOAQKVCuzNSMTG NETWORK=deepspace.org CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=~&@%+ EXCEPTS are supported by this server
INVEX are supported by this server

Anope-1.7.16 (1168) services.deepspace.org UnrealIRCd 3.2.x -  M -- build #1, compiled Feb  1 2007 23:19:11

[19:38] -OperServ- Current Module list:
-
[19:38] -OperServ- Module: cs_appendtopic [$Id: cs_appendtopic.c 1122 2006-08-06 15:00:13Z certus $] [Supported]
-
[19:38] -OperServ- Module: cs_enforce [$Id: cs_enforce.c 957 2006-01-24 07:54:48Z certus $] [Supported]
-
[19:38] -OperServ- Module: cs_accessfounder [3.3] [3rd]
-
[19:38] -OperServ- Module: hs_request [$Id$] [Supported]
-
[19:38] -OperServ- Module: ns_maxemail [$Id: ns_maxemail.c 953 2006-01-14 11:36:29Z certus $] [Supported]
-
[19:38] -OperServ- Module: os_info [$Id: os_info.c 1162 2006-09-29 17:54:07Z geniusdex $] [Supported]
-
[19:38] -OperServ- Module: os_forceid [$Id: os_forceid.c v1.0.0 05-10-2006 n00bie $] [3rd]
-
[19:38] -OperServ- Module: os_notinchanlist [2.1] [3rd]
-
[19:38] -OperServ- Module: unreal32 [$Id: unreal32.c 1159 2006-09-28 08:52:35Z certus $] [Protocol]
-
[19:38] -OperServ- 9 Modules loaded.
Title:
Post by: Jan Milants on May 09, 2007, 03:25:08 PM
i d have to check it on .16, but as far as i know it should work...

i am going to poland for 10 days right now so if it s actually a problem with the module (can some1 check this?), i would have to take a look at it... though i might just remove .16 from the list of supported versions if it does work fine on .18...
Title:
Post by: Chimp on May 10, 2007, 01:58:23 AM
lemme just check that it is /os notinchanlist join ?
Title:
Post by: Chimp on May 19, 2007, 06:20:12 PM
ummm yea its been more than 10 days....
Title:
Post by: n00bie on May 20, 2007, 08:02:36 PM
i've just checked the module on Anope-1.7.16 (1168) and Unreal3.2.6, it works for me and the mod joined the idled user to the default #Idle channel.

-OperServ- Scaning for users not in any channels...
-OperServ- Match: Testnick        - Testnick!user@5367BD2.A8DB19AB.DA328121.IP
-OperServ- JOINING: Testnick
-OperServ- Scan complete.
-OperServ- Out of 4 users, 1 possible malicious clients were detected.
Title:
Post by: Chimp on May 23, 2007, 02:27:40 AM
lol stupid question, what if +i is on?
Title:
Post by: katsklaw on May 23, 2007, 02:38:01 AM
Quote
Originally posted by Chimp
lol stupid question, what if +i is on?


Servers see all users regardless of what their modes are.
Title:
Post by: Chimp on May 23, 2007, 03:33:18 AM
well actually i was refering to +i in #idle
Title:
Post by: SNU on May 23, 2007, 09:49:58 AM
you mean the channelmode -i (invite only) ?
Obvioulsy I trioed it out and the onliest thing that was: the users didn't join the channel and services are still up.
But I 've .18 running.
Title:
Post by: Jobe on May 23, 2007, 12:20:17 PM
Ok. As far as I can see the os_notinchanlist module uses a method of joining users to the specified channel which behaves EXACTLY as if the user in question typed /join #CHANNEL. So if the channel is +i (invite only) no users will be joined. The method the module uses is subject to ALL the conditions a /join is too.

Basically, if you as a regular (non-oper'ed) user cant /join into the channel you tell the module to join the users to, then the forced join the module does wont join them either, and they will get a message in their status window saying why just like you get when you try and /join a channel which has a restriction stopping you from joining.

[Edited on 23-5-2007 by Jobe1986]
Title:
Post by: Jan Milants on May 23, 2007, 12:54:47 PM
correct... the module uses SVSJOIN which - at least on unrealircd - does not override any of the channels' join conditions like for example SAJOIN does do...
Title:
Post by: Jobe on May 23, 2007, 01:35:42 PM
Also worth noting, if the module were to be changed to use SAJOIN instead, if you have a lot of idle users not in channel, your opers could face being flooded off the network with SAJOIN notices which SVSJOIN doesnt produce.