From b805ec7022a7e4e7a0098f1cd7b3f1b9c3ccf3ed Mon Sep 17 00:00:00 2001
From: tec <tec@ucc.gu.uwa.edu.au>
Date: Thu, 26 Mar 2020 23:29:15 +0800
Subject: [PATCH] Forgot about 'web' in one place

---
 src/user_management.rs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/user_management.rs b/src/user_management.rs
index 2f2d58c..a0c01c2 100644
--- a/src/user_management.rs
+++ b/src/user_management.rs
@@ -257,7 +257,9 @@ impl Commands {
         let info_content: Vec<_> = info.splitn(2, ' ').collect();
         let mut property = String::from(info_content[0]);
         property = property.replace("github", "git");
-        if info_content.len() == 1 || !vec!["bio", "git", "photo"].contains(&property.as_str()) {
+        if info_content.len() == 1
+            || !vec!["bio", "git", "web", "photo"].contains(&property.as_str())
+        {
             send_message!(
                 msg.channel_id,
                 &ctx.http,
-- 
GitLab