summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2015-04-18 11:23:04 -0400
committermekolat <mekolat@gmail.com>2015-04-18 17:06:13 -0400
commit533cb165e0a9b4031f027c1ee193da52f962bdd2 (patch)
tree71f8060b5ffdc01bfc26624fae71ab0ea61bff02 /src/char
parentc776b7a5d8075ede4a364bfdd0c6fb3cb6f6c5fa (diff)
downloadtmwa-533cb165e0a9b4031f027c1ee193da52f962bdd2.tar.gz
tmwa-533cb165e0a9b4031f027c1ee193da52f962bdd2.tar.bz2
tmwa-533cb165e0a9b4031f027c1ee193da52f962bdd2.tar.xz
tmwa-533cb165e0a9b4031f027c1ee193da52f962bdd2.zip
remove @gm atcommand
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.cpp49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/char/char.cpp b/src/char/char.cpp
index a9b6834..ed9e369 100644
--- a/src/char/char.cpp
+++ b/src/char/char.cpp
@@ -1223,28 +1223,6 @@ void parse_tologin(Session *ls)
break;
}
- case 0x2721: // gm reply
- {
- Packet_Fixed<0x2721> fixed;
- rv = recv_fpacket<0x2721, 10>(ls, fixed);
- if (rv != RecvResult::Complete)
- break;
-
- {
- AccountId acc = fixed.account_id;
- GmLevel gml = fixed.gm_level;
-
- Packet_Fixed<0x2b0b> fixed_2b;
- fixed_2b.account_id = acc;
- fixed_2b.gm_level = gml;
- for (Session *ss : iter_map_sessions())
- {
- send_fpacket<0x2b0b, 10>(ss, fixed_2b);
- }
- }
- break;
- }
-
case 0x2723: // changesex reply (modified by [Yor])
{
Packet_Fixed<0x2723> fixed;
@@ -1857,33 +1835,6 @@ void parse_frommap(Session *ms)
break;
}
- // it is a request to become GM
- case 0x2b0a:
- {
- Packet_Head<0x2b0a> head;
- AString repeat;
- rv = recv_vpacket<0x2b0a, 8, 1>(ms, head, repeat);
- if (rv != RecvResult::Complete)
- break;
-
- AccountId account_id = head.account_id;
- if (login_session)
- { // don't send request if no login-server
- Packet_Head<0x2720> head_20;
- head_20.account_id = account_id;
- AString& repeat_20 = repeat;
- send_vpacket<0x2720, 8, 1>(login_session, head_20, repeat_20);
- }
- else
- {
- Packet_Fixed<0x2b0b> fixed_0b;
- fixed_0b.account_id = account_id;
- fixed_0b.gm_level = GmLevel();
- send_fpacket<0x2b0b, 10>(ms, fixed_0b);
- }
- break;
- }
-
// Map server send information to change an email of an account -> login-server
case 0x2b0c:
{