X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Uplink%2FUplink.class.php;h=14585f6901fc5a7b11b253ad7a97b299c1143358;hp=867cb8587da7e40752c344a007e31276685a717d;hb=316aa700bd3e2e0019b8e3f10b543b49b0f77f02;hpb=74fcc85514c9bd0a4a8dfbd909d9555a9f1ee5b8 diff --git a/Uplink/Uplink.class.php b/Uplink/Uplink.class.php index 867cb85..14585f6 100644 --- a/Uplink/Uplink.class.php +++ b/Uplink/Uplink.class.php @@ -543,7 +543,7 @@ class Uplink { return; } if($this->eventHandler) { - if($args[0] == "#") { + if($args[0][0] == "#") { $channel = P10_Channel::getChannelByName($args[0]); if($channel == null) $channel = new P10_Channel($args[0]); @@ -566,7 +566,7 @@ class Uplink { return; } if($this->eventHandler) { - if($args[0] == "#") { + if($args[0][0] == "#") { $channel = P10_Channel::getChannelByName($args[0]); if($channel == null) $channel = new P10_Channel($args[0]);