summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-04 13:45:20 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-04 13:45:20 +0800
commit0fcc819f8baceb9b3866be806cca51f22586a1ad (patch)
tree45181745a3abbb927d7ec125263b38d20e8ff5b7
parentb2c08c88e76f49c29a260fd72fd8f00577fbfb68 (diff)
downloadpttbbs-0fcc819f8baceb9b3866be806cca51f22586a1ad.tar
pttbbs-0fcc819f8baceb9b3866be806cca51f22586a1ad.tar.gz
pttbbs-0fcc819f8baceb9b3866be806cca51f22586a1ad.tar.bz2
pttbbs-0fcc819f8baceb9b3866be806cca51f22586a1ad.tar.lz
pttbbs-0fcc819f8baceb9b3866be806cca51f22586a1ad.tar.xz
pttbbs-0fcc819f8baceb9b3866be806cca51f22586a1ad.tar.zst
pttbbs-0fcc819f8baceb9b3866be806cca51f22586a1ad.zip
- xyz: show userplan for mailing sysops
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3784 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/xyz.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c
index 0b6b1141..f33d32fe 100644
--- a/mbbsd/xyz.c
+++ b/mbbsd/xyz.c
@@ -320,8 +320,10 @@ mail_sysop(void)
genbuf, 4, DOECHO);
i = genbuf[0] - '0' - 1;
if (i >= 0 && i < j) {
+ char *suser = sysoplist[i].userid;
clear();
- do_send(sysoplist[i].userid, NULL);
+ showplans(suser);
+ do_send(suser, NULL);
}
}
}