Rename event field ewpf to io
[videosite.git] / videosite-xchat2.pl
index d71106d..fcb9ac3 100644 (file)
@@ -55,7 +55,7 @@ sub videosite_hook {
 
     %event = (
         message => $msg->[1],
-        ewpf => sub {
+        io => sub {
             my $oldcxt = Xchat::get_context();
             Xchat::set_context($context);
             Xchat::print(@_);
@@ -80,7 +80,7 @@ sub message_hook {
 
     %event = (
         message => $msg->[1],
-        ewpf => sub {
+        io => sub {
             my $oldcxt = Xchat::get_context();
             Xchat::set_context($context);
             Xchat::print(@_);