]> jfr.im git - irc/rizon/acid.git/commitdiff
Update the colored vhost of the user, not the operator
authorOrillion <redacted>
Sun, 27 Aug 2017 22:04:04 +0000 (00:04 +0200)
committerOrillion <redacted>
Sun, 27 Aug 2017 22:04:04 +0000 (00:04 +0200)
vizon/src/main/java/net/rizon/acid/plugins/vizon/commands/ModifyVhostCommand.java

index 0bd046675ec753b9e9eb051077a13d6c2365ca3c..a0ddc6ff7aafd462d01a43c16108a7228699c9c1 100644 (file)
@@ -129,7 +129,7 @@ public class ModifyVhostCommand extends Command
 
                if (user != null)
                {
-                       Vizon.getVhostManager().applyVhostIfApplicable(source);
+                       Vizon.getVhostManager().applyVhostIfApplicable(user);
                }
 
                Acidictive.reply(source, to, c, String.format(