Permalink
Browse files

Changed constructor to new style __construct to support PHP 5.3.3

  • Loading branch information...
1 parent 777f323 commit 4ef18e383adc109722a3867c3133d2a3dc5c4e38 @ZaneA committed Sep 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 protoirc.php
View
@@ -10,7 +10,7 @@ class ProtoIRC {
var $host, $port, $nick, $last, $channels, $socket, $child,
$handlers = array(), $bhandlers = array('stdin'), $ansi;
- function ProtoIRC($conn_string, $conn_func = null) {
+ function __construct($conn_string, $conn_func = null) {
$url = (object)parse_url($conn_string);
@$this->nick = $url->user ?: 'ProtoBot';

0 comments on commit 4ef18e3

Please sign in to comment.