This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Security, don't deop unkown user...

Old posts that have not been replied to for several years.
Locked
H
HecKel
Voice
Posts: 23
Joined: Wed Jan 19, 2005 3:50 pm
Location: Lisbon, Portugal

Security, don't deop unkown user...

Post by HecKel »

the egg return this error..., there is my code, I don't find the error
[16:02] Tcl error [verify_security]: invalid command name "validuser*"

Code: Select all

bind mode - * verify_security

proc verify_security {nick uhost hand chan mc {victim ""}} {
	if {$chan == "#fct-caloiros"} {
		if {![string match $victim ""]} {
			if {[string tolower $nick] != "chanserv" } {
				if {[string match "+o" $mc]} {
					if{![validuser[finduser "$victim!*@*"]]} {
						pushmode $chan -o $victim
						puthelp "NOTICE $nick :$victim isn't on by db"
					}
				}
			}
		}
	}
}
tnks HecKel
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

![validuser<space>[finduser "$victim!*@*"]]

you should have been able to spot this yourself
photon?
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

spock wrote:you should have been able to spot this yourself
Not necessarily, he obviously stole the code from MC_8.
Locked