aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/talkproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/talkproc.c')
-rw-r--r--FICS/talkproc.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/FICS/talkproc.c b/FICS/talkproc.c
index b3486a9..28ed987 100644
--- a/FICS/talkproc.c
+++ b/FICS/talkproc.c
@@ -576,17 +576,20 @@ PUBLIC int com_xtell(int p, param_list param)
return COM_OK;
}
-PUBLIC int com_say(int p, param_list param)
+PUBLIC int
+com_say(int p, param_list param)
{
- if (parray[p].opponent < 0) {
- if (parray[p].last_opponent < 0) {
- pprintf(p, "No one to say anything to, try tell.\n");
- return COM_OK;
- } else {
- return tell(p, parray[p].last_opponent, param[0].val.string, TELL_SAY, 0);
- }
- }
- return tell(p, parray[p].opponent, param[0].val.string, TELL_SAY, 0);
+ if (parray[p].opponent < 0) {
+ if (parray[p].last_opponent < 0) {
+ pprintf(p, "No one to say anything to, try tell.\n");
+ return COM_OK;
+ } else {
+ return tell(p, parray[p].last_opponent,
+ param[0].val.string, TELL_SAY, 0);
+ }
+ }
+
+ return tell(p, parray[p].opponent, param[0].val.string, TELL_SAY, 0);
}
PUBLIC int