]> jfr.im git - irc/SurrealServices/srsv.git/commitdiff
Fix umode parsing in unreal
authorerry <redacted>
Wed, 27 Jul 2011 14:40:35 +0000 (14:40 +0000)
committererry <redacted>
Wed, 27 Jul 2011 14:40:35 +0000 (14:40 +0000)
git-svn-id: http://svn.tabris.net/repos/srsv@3547 70d4eda1-72e9-0310-a436-91e5bd24443c

branches/0.5.0/SrSv/Unreal/Parse.pm

index d9455528eea4cebd9fec5026846c810738e846c4..1e0d058f3bbe49272d3a587e1a976fec4ff2f5fd 100644 (file)
@@ -583,7 +583,9 @@ sub UMODE($) {
        # Yes, I'm changing the event type on this
        # It's better called UMODE, and easily emulated
        # on IRCds with only MODE.
-       return ('UMODE', 0, 0, WF_ALL, $1, $2);
+       my $user = {NICK => $1};
+       get_user_id ($user);
+       return ('UMODE', 0, 0, WF_ALL, $user, $2);
 }
 sub SVSMODE($) {
 #:tabris | +oghaANWt