diff --git a/client/src/models/network.js b/client/src/models/network.js
index <HASH>..<HASH> 100644
--- a/client/src/models/network.js
+++ b/client/src/models/network.js
@@ -230,6 +230,8 @@
 
             if (typeof mask === "object") {
                mask = (mask.nick||'*')+'!'+(mask.ident||'*')+'@'+(mask.hostname||'*');
+            } else if (typeof mask === "string") {
+               mask = toUserMask(mask, true);
             }
 
             for (idx = 0; idx < list.length; idx++) {
Convert strings passed to isUserIgnored into a hostmask.