summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands/Gm.cs
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-06-15 09:58:29 +0200
committerTrueDoctor <d-kobert@web.de>2018-06-15 09:58:29 +0200
commit585f6f3bc93e47c6943b4e523b50f2a930314514 (patch)
tree203072443c7b4b730535c4f84623b4c85f39e803 /DiscoBot/Commands/Gm.cs
parent380d9ec6048663b0e497e2437222d783236b864f (diff)
parentbf0d751d70b9997b4ad4b275652a4f1d1c4f7623 (diff)
Merge branch 'master' of https://github.com/TrueDoctor/DiscoBot
Diffstat (limited to 'DiscoBot/Commands/Gm.cs')
-rw-r--r--DiscoBot/Commands/Gm.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/DiscoBot/Commands/Gm.cs b/DiscoBot/Commands/Gm.cs
index 212bc83..7fe858c 100644
--- a/DiscoBot/Commands/Gm.cs
+++ b/DiscoBot/Commands/Gm.cs
@@ -18,7 +18,7 @@
string res;
string name;
- if (givenName.Length == 0)
+ if (givenName.Length == 0 || (givenName.Length == 1 && (givenName[0].ToLower().Equals("bin") || givenName[0].ToLower().Equals("am"))))
{
res = " \nDu bist " + Dsa.Relation[this.Context.User.Username] + "!\n \n";