ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/IRC__Alerter.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/IRC__Alerter.java (file contents):
Revision 1.13 by tdb, Mon Mar 5 01:38:01 2001 UTC vs.
Revision 1.14 by ajm, Mon Mar 5 12:09:28 2001 UTC

# Line 63 | Line 63 | public class IRC__Alerter implements PluginAlerter {
63              String levelName = cp.getProperty(_name, "Alerter.IRC.level");
64              int level = StringUtils.getStringPos(levelName, Alert.alertLevels);
65              // only send if it's equal (or above) our level
66 <            if(alert.getLevel() >= level) {
66 >            if((alert.getLevel() == 0) || (alert.getLevel() >= level)) {
67                  String alertType = Alert.alertLevels[alert.getLevel()];
68                  String thresholdType = Alert.thresholdLevels[alert.getThreshold()];
69                  // sort out the message

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines