1 /* |
1 /* |
2 Copyright 2010 Mikael Berthe |
2 * Module "lastmsg" -- adds a /lastmsg command |
3 |
3 * Displays last personal messages |
4 Module "lastmsg" -- adds a /lastmsg command |
4 * |
5 Displays last personal messages |
5 * This modules stores messages received in a MUC room while |
6 |
6 * you are away (or not available) if they contain your nickname. |
7 This modules stores messages received in a MUC room while |
7 * When you're back, you can display them in the status window with |
8 you are away (or not available) if they contain your nickname. |
8 * the /lastmsg command. |
9 When you're back, you can display them in the status window with |
9 * |
10 the /lastmsg command. |
10 * Copyright (C) 2010 Mikael Berthe <mikael@lilotux.net> |
11 |
11 * |
12 This module is free software: you can redistribute it and/or modify |
12 * This module is free software; you can redistribute it and/or modify |
13 it under the terms of the GNU General Public License as published by |
13 * it under the terms of the GNU General Public License as published by |
14 the Free Software Foundation, either version 2 of the License, or |
14 * the Free Software Foundation; either version 2 of the License, or (at |
15 (at your option) any later version. |
15 * your option) any later version. |
16 |
16 * |
17 This program is distributed in the hope that it will be useful, |
17 * This program is distributed in the hope that it will be useful, but |
18 but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 * WITHOUT ANY WARRANTY; without even the implied warranty of |
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
20 GNU General Public License for more details. |
20 * General Public License for more details. |
21 |
21 * |
22 You should have received a copy of the GNU General Public License |
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/>. |
23 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
24 */ |
24 */ |
25 |
25 |
26 #include <mcabber/modules.h> |
26 #include <mcabber/modules.h> |
27 #include <mcabber/commands.h> |
27 #include <mcabber/commands.h> |
28 #include <mcabber/hooks.h> |
28 #include <mcabber/hooks.h> |
29 #include <mcabber/screen.h> |
29 #include <mcabber/screen.h> |