1 /* |
1 /* |
|
2 * Module "killpresence" -- Ignore current presence of an item |
|
3 * |
|
4 * /killpresence fulljid |
|
5 * Ignore current presence for the provided JID |
|
6 * /killchatstates fulljid |
|
7 * Reset chat states for the provided JID |
|
8 * |
2 * Copyright (C) 2010 Mikael Berthe <mikael@lilotux.net> |
9 * Copyright (C) 2010 Mikael Berthe <mikael@lilotux.net> |
3 |
10 * |
4 |
11 * This module is free software; you can redistribute it and/or modify |
5 Module "killpresence" -- Ignore current presence of an item |
12 * it under the terms of the GNU General Public License as published by |
6 |
13 * the Free Software Foundation; either version 2 of the License, or (at |
7 * /killpresence fulljid |
14 * your option) any later version. |
8 Ignore current presence for the provided JID |
15 * |
9 * /killchatstates fulljid |
16 * This program is distributed in the hope that it will be useful, but |
10 Reset chat states for the provided JID |
17 * WITHOUT ANY WARRANTY; without even the implied warranty of |
11 |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 This module is free software: you can redistribute it and/or modify |
19 * General Public License for more details. |
13 it under the terms of the GNU General Public License as published by |
20 * |
14 the Free Software Foundation, either version 2 of the License, or |
21 * You should have received a copy of the GNU General Public License |
15 (at your option) any later version. |
22 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 |
23 */ |
17 This program is distributed in the hope that it will be useful, |
|
18 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 GNU General Public License for more details. |
|
21 |
|
22 You should have received a copy of the GNU General Public License |
|
23 along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
24 */ |
|
25 |
24 |
26 #include <string.h> |
25 #include <string.h> |
27 |
26 |
28 #include <mcabber/modules.h> |
27 #include <mcabber/modules.h> |
29 #include <mcabber/commands.h> |
28 #include <mcabber/commands.h> |